Vla*_*mir 6

只需在控制台中打印内容:

NSLog(@"%@", [yourDict description]);
Run Code Online (Sandbox Code Playgroud)

迭代字典元素:

for (id key in [yourDict allKeys]){
   id obj = [yourDict objectForKey: key];
   // Do something with them
}
Run Code Online (Sandbox Code Playgroud)

  • 或:NSLog(@"%@",yourDict); (5认同)