| Home | Projects | Reflections | Codes | Videos | To-do | Review |
My total score is 5/6 because I don't have a video. Everything else is done. The code segment below shows iteration.
ForEach(0..<flavors.count, id: \.self) { i in
Text("\(flavors[i]) - \(scoops[i]) scoops")
}
My total score is 5/6 because I don't have a video. Everything else is done. The code segment below shows iteration.
List(aiTopics, id: \.self) { topic in
Text(topic)
.font(.body)
}
My total score is 5/6 because I don't have a video. Everything else is done. The code segment below shows selection.
if let number = Int(inputNumber), number >= 0, number <= 99 {
cellColors[number] = .blue
}