1NSDictionary *myDict = @{@"Key 1" : @"Value 1",
2 @"Key 2" : @"Value 2"}
3NSEnumerator *enumerator = [myDict keyEnumerator];
4id key = nil;
5while((key = [enumerator nextObject]))
6 NSLog(@"key=%@ value=%@", key, myDict[key]);