开发者

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜