d
Size: a a a
d
DA
d
d
d
DA
DA
DA
DA
DA
d
KK
DA
S
GeometryReader { geometry
in
HStack(spacing: 0) {
Text("Left")
.frame(width: geometry.size.width / 2, height: geometry.size.width / 2)
.background(Color.yellow)
Text("Right")
.frame(width: geometry.size.width / 2, height: geometry.size.width / 2)
.background(Color.orange)
}
}
VN
randomItem() -> Element? {
if isEmpty {
return
nil }
let index = Int(arc4random_uniform(UInt32(
self.count)))
return
self[index]
PB
PB
PB
AL