Instance Method

cancelPerformSelectorsWithTarget:

Cancels all outstanding ordered performs scheduled with a given target.

Declaration

- (void)cancelPerformSelectorsWithTarget:(id)target;

Parameters

target

The previously-specified target.

Discussion

This method cancels the previously scheduled messages associated with the target, ignoring the selector and argument of the scheduled operation. This is in contrast to cancelPerformSelector:target:argument:, which requires you to match the selector and argument as well as the target. This method removes the perform requests for the object from all modes of the run loop.

See Also

Scheduling and Canceling Messages

- performSelector:target:argument:order:modes:

Schedules the sending of a message on the receiver.

- cancelPerformSelector:target:argument:

Cancels the sending of a previously scheduled message.