View content of NSMutableDictionary
How to view the content of NSMutableDic开发者_Go百科tionary
?
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
}
NSLog(@"yourMutableDictionary - %@",yourMutableDictionary);
精彩评论