Instance Method

makeObjectsPerformSelector:

Sends to each object in the array the message identified by a given selector, starting with the first object and continuing through the array to the last object.

Declaration

- (void)makeObjectsPerformSelector:(SEL)aSelector;

Parameters

aSelector

A selector that identifies the message to send to the objects in the array. The method must not take any arguments, and must not have the side effect of modifying the receiving array.

Discussion

This method raises an NSInvalidArgumentException if aSelector is NULL.

See Also

Sending Messages to Elements

- makeObjectsPerformSelector:withObject:

Sends the aSelector message to each object in the array, starting with the first object and continuing through the array to the last object.

- enumerateObjectsUsingBlock:

Executes a given block using each object in the array, starting with the first object and continuing through the array to the last object.

- enumerateObjectsWithOptions:usingBlock:

Executes a given block using each object in the array with the specified options.

- enumerateObjectsAtIndexes:options:usingBlock:

Executes a given block using the objects in the array at the specified indexes.