Type Property


Returns the run loop for the current thread.


@property(class, readonly, strong) NSRunLoop *currentRunLoop;

Return Value

The NSRunLoop object for the current thread.


If a run loop does not yet exist for the thread, one is created and returned.

See Also

Accessing Run Loops and Modes


The receiver's current input mode.

- limitDateForMode:

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


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