开发者

Remove objects from NSMutable array that match with objects from another NSMutable Array

Ok so:

  • i have NSMutableArray 1
    • i also have NSMutableArray 2

I would like to remove all objects from array 1 that match with objects in array 2开发者_开发问答.

Any ideas?


I've just opened the documentation, print NSMutableArray and check removing objects section...

[array1 removeObjectsInArray:array2];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜