Rupert Rupert - 3 months ago 24
Objective-C Question

looping through an NSMutableDictionary

How do I loop through all objects in a NSMutableDictionary regardless of the keys?

Answer

A standard way would look like this

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