Re: NSArrayController and bindings and RaiseMan
Re: NSArrayController and bindings and RaiseMan
- Subject: Re: NSArrayController and bindings and RaiseMan
- From: Todd Heberlein <email@hidden>
- Date: Wed, 23 Jul 2008 11:16:46 -0700
Before I spend a lot of time on this, I'm just wondering if the undo
functionality described in Chapter 9 is even possible without bindings
and NSArrayController.
Well, NeXTSTEP, OpenStep, Cocoa applications have been doing undo/redo
well before Apple relatively recently added Controllers, so I suspect
it can be done.
In fact, IMHO, it seems adding the functionality of the Undo Manager
already removes some of the freedom's introduced by the
NSArrayController. Before, the controller handled everything without
your MyDocument object needing to be notified about anything. By
adding Undo Manager capability, MyDocument has to receive and carry
out all the changes in the model (in order to notify the Undo Manager
about each change).
Todd
_______________________________________________
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