Forgot to mention this is not a NSDocument based app, nor am I using CD.

OSX 10.8/deploying 10.7

Erik Stainsby
[email protected]


On 2012-09-02, at 3:10 PM, Erik Stainsby <[email protected]> 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 protected]
> 
> 


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to