<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDocument/ChangeType/changeDone",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSDocumentChangeType@NSChangeDone"
  },
  "title" : "NSDocument.ChangeType.changeDone"
}
-->

# NSDocument.ChangeType.changeDone

Increment change count.

```
case changeDone
```

## Discussion

Pass this value to the [`updateChangeCount(_:)`](/documentation/AppKit/NSDocument/updateChangeCount(_:)) method to indicate that a single change has been done. For example, the built-in undo support in the [`NSDocument`](/documentation/AppKit/NSDocument) class passes this value whenever a document receives an <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSUndoManagerDidCloseUndoGroup> notification from its own undo manager.

---

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)