只需在控制台中打印内容:
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)
| 归档时间: |
|
| 查看次数: |
5990 次 |
| 最近记录: |