Concatenate one NSMutableArray to the end of another NSMutableArray

Viewed 12598

A simple answer to this super simple question would be great! Here is the pseudcode:

NSMutableArray *Africa = [Lion, Tiger, Zebra];
NSMutableArray *Canada = [Polar Bear, Beaver , Loon];

NSMutableArray *Animals = *Africa + *Canada;

What I want to end up with:

Animals = [Lion, Tiger, Zebra, Polar Bear, Beaver, Loon];

What is the proper syntax to achieve this in Objective-C/ Cocoa?

Thanks so much!

2 Answers
Related