loop array objective c code example Example: loop array objective c for (id object in array) { // do something with object }