[Solved] Adding an element to the end of an NSMutableArray [closed]

[ad_1]

Instead of objectAtIndex, you can just addObject:

According to the developer notes:

addObject:

Inserts a given object at the end of the array.

- (void)addObject:(id)anObject

[ad_2]

solved Adding an element to the end of an NSMutableArray [closed]