I have a subclass of NSPersistentDocument. MyDocument.nib has two NSTableViews bound to NSArrayControllers and some + and - buttons connected to add: resp. remove: of these controllers. The table view are editable.
And, without doing anything about it, everything is undoable. Very impressive. But: My Edit menu just contains "Undo" - I would much prefer to have something like: "Undo add" or even "Undo add department" or "Undo edit last name" etc. How would I do this? Subclass the NSArrayControllers and overrriding add: and remove: to call setActionName:? Or is there a simpler way? Kind regards, Gerriet. _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com