Type Property

mainRunLoop

Returns the run loop of the main thread.

Declaration

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

Return Value

An object representing the main thread’s run loop.

See Also

Accessing Run Loops and Modes

currentRunLoop

Returns the run loop for the current thread.

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.

- getCFRunLoop

Returns the receiver's underlying CFRunLoop object.