knurling / ServiceStation

Service Station
37 stars 1 forks source link

Add Undo/Redo Support #38

Open pkamb opened 4 years ago

pkamb commented 4 years ago

Service Station should support standard macOS Undo/Redo behavior when Adding and Deleting Rules, Menu Items, Apps, Scripts, etc.

This topic describes how to record operations with NSUndoManager, so the user can reverse an operation’s effect.

https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/UndoArchitecture/UndoArchitecture.html