Looping through NSMutableArray | iOS Programmer Guide

We can loop through all objects in a NSMutableDictionary regardless of the keys using the below objective-c code snippet:

for(id key in myDict) {
    id value = [myDict objectForKey:key];
    [value doStuff];
}