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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to