Answers for "how to loop through nested arrays in swift"

0

swift loop through 2 arrays at once

let strArr1 = ["Some1", "Some2"]
let strArr2 = ["Somethingelse1", "Somethingelse2"]

for (e1, e2) in zip(strArr1, strArr2) {
    print("(e1) - (e2)")
}
Posted by: Guest on June-18-2021

Code answers related to "how to loop through nested arrays in swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language