3

如何查看内容NSMutableDictionary

4

2 回答 2

6

只需在控制台中打印内容:

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

遍历字典元素:

for (id key in [yourDict allKeys]){
   id obj = [yourDict objectForKey: key];
   // Do something with them
}
于 2010-08-06T14:01:07.040 回答
1
NSLog(@"yourMutableDictionary - %@",yourMutableDictionary);
于 2013-07-23T11:29:13.477 回答