<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Progress/isCancellable",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSProgress(py)cancellable"
  },
  "title" : "isCancellable"
}
-->

# isCancellable

A Boolean value that indicates whether the receiver is tracking work that you can cancel.

```
var isCancellable: Bool { get set }
```

## Discussion

By default, [`Progress`](/documentation/Foundation/Progress) objects are cancelable.

You typically use this property to communicate whether controls for canceling appear in a progress-reporting user interface. [`Progress`](/documentation/Foundation/Progress) itself doesn’t do anything with this property other than help pass the value from progress reporters to progress observers.

If an [`Progress`](/documentation/Foundation/Progress) is cancelable, implement the ability to cancel progress either by setting a block for the [`cancellationHandler`](/documentation/Foundation/Progress/cancellationHandler) property, or by polling the [`isCancelled`](/documentation/Foundation/Progress/isCancelled) property periodically while performing the relevant work.

It’s valid for the value of this property to change during the lifetime of an [`Progress`](/documentation/Foundation/Progress) object. By default, [`Progress`](/documentation/Foundation/Progress) is KVO-compliant for this property. It sends notifications on the same thread that updates the property.

## See Also

[`cancel()`](/documentation/Foundation/Progress/cancel())

Cancels progress tracking.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)