如题。比如 nsdictionary—— A:{b:1,c:2,d:3} 转成 nsarray —— {b:1,c:2,d:3}我只能想到用for循环来实现for(nsstring *str in [a allkeys]){ [b addObject:@{k:a[k]}];}有没有更简单的方法?
认证高级PHP讲师
For the map function in functional programming, you can try ReactiveCocoa, or if you use swift, the map function is built-in.
For the map function in functional programming, you can try ReactiveCocoa, or if you use swift, the map function is built-in.