Check out example codes for "loop array objective c". It will help you in understanding the concepts better.

Code Example 1

for (id object in array) {
    // do something with object
}

Learn ReactJs, React Native from akashmittal.com