Instance Property

cancelled

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

Declaration

@property(readonly, getter=isCancelled) BOOL cancelled;

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 cancelled, the receiver will also report being cancelled.

See Also

Controlling Progress

cancellable

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

- cancel

Cancel progress tracking.

cancellationHandler

The block to invoke when progress is cancelled.

pausable

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

paused

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

- pause

Pause progress tracking.

pausingHandler

The block to invoke when progress is paused.

- resume

Resume progress tracking.

resumingHandler

The block to invoke when progress is resumed.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software