I have a default NSUndoManager set for the current window in my NSWindowDelegate, and that has been functioning great. But now I have modified an NSOutlineView so that its next responder is it’s view controller like so:
[self.sceneOutlineView setNextResponder:self];
So now when the outline view has focus, something seems to be broken with my responder chain, and an NSUndoManager is not set for my Edit menu to use.
I’m a noob to the responder chain. What else do I need to do to figure out how to get my undoManager to work?
Try something like this instead, to fully patch the responder chain: