Instance Property

runLoopModes

The modes governing the types of input handled during a cycle of the run loop.

Declaration

@property(copy) NSArray<NSRunLoopMode> *runLoopModes;

Discussion

An array of string constants specifying the current run-loop modes.

By default, the sole run-loop mode is NSDefaultRunLoopMode (which excludes data from NSConnection objects). Some examples of other uses are to limit the input to data received during a mouse-tracking session by setting the mode to NSEventTrackingRunLoopMode, or limit it to data received from a modal panel with NSModalPanelRunLoopMode.

See Also

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