Instance Method

replacePointerAtIndex:withPointer:

Replaces the pointer at a given index.

Declaration

- (void)replacePointerAtIndex:(NSUInteger)index withPointer:(void *)item;

Parameters

index

The index of an element in the receiver. This value must be less than the count of the receiver.

item

The item with which to replace the element at index. This value may be NULL.

See Also

Managing the Collection

count

The number of elements in the receiver.

allObjects

All the objects in the receiver.

- pointerAtIndex:

Returns the pointer at a given index.

- addPointer:

Adds a given pointer to the receiver.

- removePointerAtIndex:

Removes the pointer at a given index.

- insertPointer:atIndex:

Inserts a pointer at a given index.

- compact

Removes NULL values from the receiver.