On Mar 13, 2012, at 1:49 PM, Luc Van Bogaert wrote: > In my document-based app, I am using NSDocument's NSUndoManager to implement > undo/redo. As part of my document objects, I have to deal with a custom > object, for which I would also like to implement undo/redo. I know > NSResponder has undo/redo features, but how should I implement this for a > custom object?
It's covered pretty well in the documentation. https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/UndoArchitecture/UndoArchitecture.html#//apple_ref/doc/uid/10000010i -- Seth Willits _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com