Rupert Rupert - 1 year ago 132
Objective-C Question

looping through an NSMutableDictionary

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

Answer Source

A standard way would look like this

for(id key in myDict) {
    id value = [myDict objectForKey:key];
    [value doStuff];
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download