It seems I was mistaken in my assumption that undo/redo should have anything to do with saving the NSManagedObjectContext
.
Because my app auto-saves, my beleaguered brain thought that the undo/redo would auto-save too. Clearly this is not so.
I'm now observing the NSUndoManagerDidUndoChangeNotification
and NSUndoManagerDidRedoChangeNotification
notifications and manually saving there which is (currently) giving me the behaviour I expect.