- (NSEnumerator *)objectEnumerator
example:
NSEnumerator *enumerator = [myDictionary objectEnumerator]; |
id value; |
|
while ((value = [enumerator nextObject])) { |
/* code that acts on the dictionary’s values */ |
} |