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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software