Open ClassFoundation5.9.0
Operation
class Operation
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
init(
) var completionBlock: (() -> Void)?
var dependencies: [Operation]
var isAsynchronous: Bool
var isCancelled: Bool
var isExecuting: Bool
var isFinished: Bool
var isReady: Bool
var name: String?
var qualityOfService: QualityOfService
var queuePriority: Operation.QueuePriority
func addDependency(Operation
) func cancel(
) func didChangeValue<Value>(for: KeyPath<Operation, Value>
) func didChangeValue(forKey: String
) func main(
) func removeDependency(Operation
) func start(
) func waitUntilFinished(
) func willChangeValue<Value>(for: KeyPath<Operation, Value>
) func willChangeValue(forKey: String
) enum QueuePriority