Type Property

currentRunLoop

Returns the run loop for the current thread.

Declaration

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

Return Value

The NSRunLoop object for the current thread.

Discussion

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

See Also

Accessing Run Loops and Modes

currentMode

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.

mainRunLoop

Returns the run loop of the main thread.

- getCFRunLoop

Returns the receiver's underlying CFRunLoop object.