• 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: custom views, bindings, and array controller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom views, bindings, and array controller


  • Subject: Re: custom views, bindings, and array controller
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 29 Apr 2005 16:48:41 -0700


On Apr 29, 2005, at 4:34 PM, Scott Stevenson wrote:

You register for KVO notifications on the array controller inside bind: and update the view's contents when observeValueForKeyPath: is called. That method passes in the bound array controller, so you can just query it directly for its new contents, using the key path specified during the initial bind.


See also: <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html> Graphics Bindings example...

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >custom views, bindings, and array controller (From: Josh Anon <email@hidden>)
 >Re: custom views, bindings, and array controller (From: Scott Stevenson <email@hidden>)

  • Prev by Date: Re: CoreData: Single coordinator, multiple contexts?
  • Next by Date: Re: CoreData retain/release/delete
  • Previous by thread: Re: custom views, bindings, and array controller
  • Next by thread: re: custom views, bindings, and array controller
  • Index(es):
    • Date
    • Thread