2010-08-06 120 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);