Instance Method

cancel

Cancel progress tracking.

Declaration

- (void)cancel;

Discussion

This method invokes the block set for cancellationHandler, if there is one, and ensures that any subsequent reads of the cancelled property return YES.

If the receiver has any children, those children will also be cancelled.

See Also

Controlling Progress

cancellable

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

cancelled

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

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.