NSMutableArray

Dok-tips for Foundation class NSMutableArray

Mutable version of NSArray

Always mutable

Create with alloc/init or class methods - cannot create with @[ ]

+ (id)arrayWithCapacity:(NSUInteger)numItems;// numItems is a hint only
+ (id)array;// [NSMutableArray array] is === [[NSMutableArray alloc] init]