How to add Undo/Redo actions for custom interface?

aallen8455aallen8455 Aaron AllenUSMember ✭✭

I'm trying to get undo/redo working for a custom user interface which is in an NSView. This is not using NSDocument.
I tried creating an NSUndoManager instance and calling RegisterUndoWithTarget, but this doesn't affect the Edit menu.
How can I get this UndoManager to interact with the Edit menu?

Answers

Sign In or Register to comment.