Type Alias

NSRunLoopMode

No overview available.

Declaration

typedef NSString *NSRunLoopMode;

Topics

Type Properties

NSRunLoopCommonModes

Objects added to a run loop using this value as the mode are monitored by all run loop modes that have been declared as a member of the set of “common" modes; see the description of CFRunLoopAddCommonMode for details.

NSDefaultRunLoopMode

The mode to deal with input sources other than NSConnection objects.

NSEventTrackingRunLoopMode

A run loop should be set to this mode when tracking events modally, such as a mouse-dragging loop.

NSModalPanelRunLoopMode

A run loop should be set to this mode when waiting for input from a modal panel, such as NSSavePanel or NSOpenPanel.

UITrackingRunLoopMode

The mode set while tracking in controls takes place.

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.

mainRunLoop

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