3
如何查看NSMutableDictionary
的内容?查看内容的NSMutableDictionary
如何查看NSMutableDictionary
的内容?查看内容的NSMutableDictionary
只需打印内容在控制台:
NSLog(@"%@", [yourDict description]);
要通过字典元素迭代:
for (id key in [yourDict allKeys]){
id obj = [yourDict objectForKey: key];
// Do something with them
}
NSLog(@"yourMutableDictionary - %@",yourMutableDictionary);
或:的NSLog(@ “%@”,yourDict); – jamapag 2010-08-06 14:10:35