Instance Method

addObject:

Inserts a given object at the end of the array.

Declaration

- (void)addObject:(ObjectType)anObject;

Parameters

anObject

The object to add to the end of the array’s content. This value must not be nil.

See Also

Adding Objects

- addObjectsFromArray:

Adds the objects contained in another given array to the end of the receiving array’s content.

- insertObject:atIndex:

Inserts a given object into the array’s contents at a given index.

- insertObjects:atIndexes:

Inserts the objects in the provided array into the receiving array at the specified indexes.