Been working on implementing undo/redo functionality in my notes app.
The `UndoManager` API makes this easy by simply calling `registerUndo` and then you can use `setActionName` to give it a name that will be displayed in the 'Undo' menu option located in 'Edit'.
https://developer.apple.com/documentation/foundation/undomanager
The `UndoManager` API makes this easy by simply calling `registerUndo` and then you can use `setActionName` to give it a name that will be displayed in the 'Undo' menu option located in 'Edit'.
https://developer.apple.com/documentation/foundation/undomanager
2