I am finding some difficulty in accessing mutable dictionary keys and values in Objective-C.
Suppose I have this:
NSMutableDictionary *xyz=[[NSMutabl
The easiest way to enumerate a dictionary is
for (NSString *key in tDictionary.keyEnumerator) { //do something here; }
where tDictionary is the NSDictionary or NSMutableDictionary you want to iterate.
tDictionary
NSDictionary
NSMutableDictionary