📜  一次快速循环遍历 2 个数组 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:01.354000             🧑  作者: Mango

代码示例1
let strArr1 = ["Some1", "Some2"]
let strArr2 = ["Somethingelse1", "Somethingelse2"]

for (e1, e2) in zip(strArr1, strArr2) {
    print("\(e1) - \(e2)")
}