DefaultOperation

open class DefaultOperation : Operation

Custom default Operation class that used to use OperationState enum.

  • Enum representation of Operation status, used instead of KVO. Default state is pending (when the operation is created).

    Declaration

    Swift

    public var state: OperationState { get set }
  • Undocumented

    Declaration

    Swift

    override public var isReady: Bool { get }
  • Undocumented

    Declaration

    Swift

    override public var isFinished: Bool { get }
  • Undocumented

    Declaration

    Swift

    override public var isExecuting: Bool { get }
  • Undocumented

    Declaration

    Swift

    override public var isAsynchronous: Bool { get }