On 03/09/2012, at 8:10 AM, Erik Stainsby wrote:
> Advice from those who know would be much appreciated.
I wouldn't say 'I know' at all, but I find that it is necessary to put the
calls to the undo manager into the model.
NSUndoManager's basic functionality acts on the model, but it also supp
Forgot to mention this is not a NSDocument based app, nor am I using CD.
OSX 10.8/deploying 10.7
Erik Stainsby
erik.stain...@roaringsky.ca
On 2012-09-02, at 3:10 PM, Erik Stainsby wrote:
> I am questioning where in the app I ought to locate my UndoManager code:
>
> 1) in the model classes?
>
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