---
title: NSUndoManagerDidUndoChange
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsnotification/name-swift.struct/nsundomanagerdidundochange
---

# NSUndoManagerDidUndoChange

Posted just after an undo manager performs an undo operation.

## Declaration

```swift
static let NSUndoManagerDidUndoChange: NSNotification.Name
```

## Discussion

Discussion If you invoke undo() or undoNestedGroup(), this notification is posted. The notification object is the UndoManager object. This notification doesn’t contain a userInfo dictionary. The system posts this notification on the actor, thread, or dispatch queue that calls undo().

## See Also

### Working with notifications

- [NSUndoManagerWillUndoChange](foundation/nsnotification/name-swift.struct/nsundomanagerwillundochange.md)
- [NSUndoManagerWillRedoChange](foundation/nsnotification/name-swift.struct/nsundomanagerwillredochange.md)
- [NSUndoManagerDidRedoChange](foundation/nsnotification/name-swift.struct/nsundomanagerdidredochange.md)
- [NSUndoManagerCheckpoint](foundation/nsnotification/name-swift.struct/nsundomanagercheckpoint.md)
- [NSUndoManagerDidOpenUndoGroup](foundation/nsnotification/name-swift.struct/nsundomanagerdidopenundogroup.md)
- [NSUndoManagerWillCloseUndoGroup](foundation/nsnotification/name-swift.struct/nsundomanagerwillcloseundogroup.md)
- [NSUndoManagerDidCloseUndoGroup](foundation/nsnotification/name-swift.struct/nsundomanagerdidcloseundogroup.md)
- [NSUndoManagerGroupIsDiscardableKey](foundation/nsundomanagergroupisdiscardablekey.md)
