📅  最后修改于: 2022-03-11 14:58:37.937000             🧑  作者: Mango
代码示例1
let array = ["Apples", "Peaches", "Plums"]
for (index, item) in array.enumerated() {
print("Found \(item) at position \(index)")
}