• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSArrayController and bindings and RaiseMan
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSArrayController and bindings and RaiseMan (From: "Diop Mercer" <email@hidden>)

  • Prev by Date: Re: master-detail: binding array controller to the attribute of selection of master array controller
  • Next by Date: Re: Using NSUserDefaults with NSPreferencePane
  • Previous by thread: NSArrayController and bindings and RaiseMan
  • Next by thread: Spotlight and NSPredicate
  • Index(es):
    • Date
    • Thread