
[self.dataArray[i] setObject:number forKey:kcountKey];
从数组中拿到可变字典,添加key和对应的value

在字典后面加上mutableCopy后,变成可变字典,方便后面添加对象
[self.dataArray[i] setObject:number forKey:kcountKey];
从数组中拿到可变字典,添加key和对应的value
在字典后面加上mutableCopy后,变成可变字典,方便后面添加对象
本文标题:2019-04-14 遍历语法糖的可变字典添加对象
本文链接:https://www.haomeiwen.com/subject/ayojwqtx.html
网友评论