Re: Seeking advice re: placement of UndoManager
Re: Seeking advice re: placement of UndoManager
- Subject: Re: Seeking advice re: placement of UndoManager
- From: Erik Stainsby <email@hidden>
- Date: Sun, 02 Sep 2012 15:15:21 -0700
Forgot to mention this is not a NSDocument based app, nor am I using CD.
OSX 10.8/deploying 10.7
Erik Stainsby
email@hidden
On 2012-09-02, at 3:10 PM, Erik Stainsby <email@hidden> wrote:
> I am questioning where in the app I ought to locate my UndoManager code:
>
> 1) in the model classes?
> 2) in window controller class?
> 3) on its own as a controller-mediator class?
>
> The model is kvo compliant and so will be notified by observing itself. It has to broker the changes into the persistent store. Seems like a good locale to capture undo requirements. However it also seems like this is more a controller logic piece of the puzzle and as such doesn't really belong in the model classes.
>
> Advice from those who know would be much appreciated.
>
>
> Erik Stainsby
> email@hidden
>
>
_______________________________________________
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