i have objects
var person1 = Person() person1.name = \"Joe\" person1.lastName = \"Doe\" person1.age = 21 var person2 = Person() person2.name = \"Julia\" person2
forEach({ element in // do what you need })