I call two feeds that both return an NSMutableArray, I then need to make the two arrays into one.
NSMutableArray *array1 = [JSONWrapper downloadFeed];
NSMutableArray *array2 = [JSONWrapper downloadFeed];
// something like: array1 += array2
Use -addObjectsFromArray:
:
[array1 addObjectsFromArray:array2];
NSArray *newArray = [array1 arrayByAddingObjectsFromArray:array2];
精彩评论