views:

23

answers:

1

Hello,

How to view the contents of NSMutableDictionary?

Thank You

+2  A: 

Just print contents in console:

NSLog(@"%@", [yourDict description]);

To iterate through dictionary elements:

for (id key in [yourDict allKeys]){
   id obj = [yourDict objectForKey: key];
   // Do something with them
}
Vladimir
or: NSLog(@"%@", yourDict);
jamapag