开发者

View content of NSMutableDictionary

开发者 https://www.devze.com 2023-01-10 18:04 出处:网络
How to view the content of NSMutableDic开发者_Go百科tionary?Just print contents in console: NSLog(@\"%@\", [yourDict description]);

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

精彩评论

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