2010-08-06 97 views

回答

6

只需打印内容在控制台:

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

要通过字典元素迭代:

for (id key in [yourDict allKeys]){ 
    id obj = [yourDict objectForKey: key]; 
    // Do something with them 
} 
+5

或:的NSLog(@ “%@”,yourDict); – jamapag 2010-08-06 14:10:35

2
NSLog(@"yourMutableDictionary - %@",yourMutableDictionary);