2010-08-06 4 views

답변

6

그냥 콘솔의 내용을 인쇄 :

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

또는 :

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

사전 요소를 반복하기 NSLog ("%의 @", yourDict @를); – jamapag

2
NSLog(@"yourMutableDictionary - %@",yourMutableDictionary); 
관련 문제