How to concatenate two arrays into a single array in Objective-C?
NSArray* newArray = [firstArray arrayByAddingObjectsFromArray:secondArray];
Or using mutable array version just add to it all objects from another array:
[myMutableArray addObjectsFromArray:secondArray];
1.4m articles
1.4m replys
5 comments
57.0k users