How to iterate through array of objects in Swift?
I would try this: var array:[[Person]] = [[person1, person2, person3], [person9, person10, person11]] /*Casting it like this should keep from getting an error later and/or having to recast the objects*/ for people in array { /*This is going to look at each array in arrays, and call each one ‘people’ within this loop*/ for person … Read more