Instance Method

removeFromRunLoop:forMode:

Removes the receiver from the run loop mode mode of runLoop.

Declaration

- (void)removeFromRunLoop:(NSRunLoop *)runLoop forMode:(NSRunLoopMode)mode;

Parameters

runLoop

The run loop from which to remove the receiver.

mode

The run loop mode from which to remove the receiver.

Discussion

When the receiver is removed, the run loop stops monitoring the Mach port for incoming messages.

See Also

Scheduling the Port on a Run Loop

- scheduleInRunLoop:forMode:

Schedules the receiver into the run loop mode mode of runLoop.

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