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