Returns an array of
NSRunning representing the running apps.
- macOS 10.6+
An array of
The order of the array is unspecified, but it is stable, meaning that the relative order of particular apps will not change across multiple calls to
NSRunning for more information on
Similar to the
NSRunning class’s properties, this property will only change when the main run loop is run in a common mode. Instead of polling, use key-value observing to be notified of changes to this array property.
It is safe to call this method from any of your app’s threads. The method returns its value atomically.
This value returned by this method is observable using key-value observing.