Instance Property

isPaused

Indicates whether the receiver is tracking work that has been paused.

Declaration

var isPaused: Bool { get }

Discussion

By default, NSProgress is KVO-compliant for this property, sending notifications on the same thread that updates the property.

If the receiver has a parent that has already been paused, the receiver will also report being paused.

See Also

Controlling Progress

var isCancellable: Bool

Indicates whether the receiver is tracking work that can be cancelled.

var isCancelled: Bool

Indicates whether the receiver is tracking work that has been cancelled.

func cancel()

Cancel progress tracking.

var cancellationHandler: (() -> Void)?

The block to invoke when progress is cancelled.

var isPausable: Bool

Indicates whether the receiver is tracking work that can be paused.

func pause()

Pause progress tracking.

var pausingHandler: (() -> Void)?

The block to invoke when progress is paused.

func resume()

Resume progress tracking.

var resumingHandler: (() -> Void)?

The block to invoke when progress is resumed.