Insert Elements

suggest change
NSMutableArray *myColors;
int i;
int count;
myColors = [NSMutableArray arrayWithObjects: @"Red", @"Green", @"Blue", @"Yellow", nil];
[myColors insertObject: @"Indigo" atIndex: 1];
[myColors insertObject: @"Violet" atIndex: 3];

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


NSMutableArray:
*Insert Elements

Table Of Contents