These constants let you prioritize the order in which operations execute.
SDKs
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
typedef enum NSOperationQueuePriority : NSInteger {
...
} NSOperationQueuePriority;
Overview
You can use these constants to specify the relative ordering of operations that are waiting to be started in an operation queue. You should always use these constants (and not the defined value) for determining priority.