Swift для индекса цикла
for (index, object) in list.enumerated() {
print("Item at \(index): \(object)")
}
Depressed Donkey
for (index, object) in list.enumerated() {
print("Item at \(index): \(object)")
}
Lιĸe swift 5 for loop with index <=