The modes governing the types of input handled during a cycle of the run loop.
- iOS 3.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
An array of string constants specifying the current run-loop modes.
By default, the sole run-loop mode is
NSDefault (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
NSEvent, or limit it to data received from a modal panel with