iOS Swift - Lists and Data Display
Given this code, what will be the output?
let numbers = [10, 20, 30]
List {
ForEach(numbers, id: \.self) { num in
Text(\"Number: \(num)\")
}
}
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions