Instance Method


Performs one pass through the run loop in the specified mode and returns the date at which the next timer is scheduled to fire.


- (NSDate *)limitDateForMode:(NSRunLoopMode)mode;



The run loop mode to search. You may specify custom modes or use one of the modes listed in Run Loop Modes.

Return Value

The date at which the next timer is scheduled to fire, or nil if there are no input sources for this mode.


The run loop is entered with an immediate timeout, so the run loop does not block, waiting for input, if no input sources need processing.

See Also

Accessing Run Loops and Modes


Returns the run loop for the current thread.


The receiver's current input mode.


Returns the run loop of the main thread.

- getCFRunLoop

Returns the receiver's underlying CFRunLoop object.

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