當前位置:成語大全網 - 書法字典 - 壹個字典存儲在ios數組中,後跟壹個字典來查找值。

壹個字典存儲在ios數組中,後跟壹個字典來查找值。

把符號換成英文符號就行了。

1數組

@[@ " value 1 " ,@ " value 2 " ,@ " value 3 "];

2字典

@{@"key1":@"value1 ",@ " key 2 ":@ " value 2 " };

3數組字典

@[@{@"key1":@"value1 ",@"key2":@"value2"},@ { @ " key 1 ":@ " value 1 ",@ " key 2 ":@ " value 2 " }];

4字典集數組

@ { @ " key 1 ":@[@ " value 1 ",@"value2 ",@"value3"],@"key2":@[@"value1 ",@"value2 ",@ " value 3 "]};