The operations currently in the queue.
- iOS 2.0–13.0Deprecated
- macOS 10.5–10.15Deprecated
- UIKit for Mac 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
- watchOS 2.0–6.0Deprecated
The array in this property contains zero or more
Operation objects in the order in which they were added to the queue. This order does not necessarily reflect the order in which those operations will be executed.
You can use this property to access the operations queued at any given moment. Operations remain queued until they finish their task. Therefore, the array may contain operations that are executing or waiting to be executed. The list may also contain operations that were executing when the array was initially retrieved but have subsequently finished.
You may monitor changes to the value of this property using Key-value observing. Configure an observer to monitor the
operations key path of the operation queue.