Iterate
NSEnumerator *enumerator = [myDictionary keyEnumerator];
id key;
while ((key = [enumerator nextObject])) {
NSDictionary *tmp = [myDictionary objectForKey:key];
}
for (NSString *aKey in myDictionary) {
// do something
}
Sort
- NSArray sorting using selectors 2009-03-29