2010-08-06 4 views

Répondre

6

imprimer uniquement le contenu dans la console:

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

Pour itérer éléments du dictionnaire:

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

ou: NSLog (@ "% @", yourDict); – jamapag

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