Seeking advice re: placement of UndoManager
Seeking advice re: placement of UndoManager
- Subject: Seeking advice re: placement of UndoManager
- From: Erik Stainsby <email@hidden>
- Date: Sun, 02 Sep 2012 15:10:59 -0700
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