Re: Undomanager for custom object?
Re: Undomanager for custom object?
- Subject: Re: Undomanager for custom object?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 13 Mar 2012 14:07:15 -0700
On Mar 13, 2012, at 1:49 PM, Luc Van Bogaert wrote:
> Hi,
>
> 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?
Not sure what you're asking here. What is your custom object--a view, a controller, a model object? Should it use the same undo manager as all the other objects?
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden