• 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: Josh Anon <email@hidden>
  • Date: Fri, 29 Apr 2005 17:24:31 -0700

Ah, thanks. I was being silly and thinking that the toObject: param in bind was arrangedObjects and not the array controller. RTFM, Josh.


On Apr 29, 2005, at 4:51 PM, email@hidden wrote:

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

---
Josh Anon
Pixar Animation Studios
email@hidden

_______________________________________________
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


  • Prev by Date: Re: CoreData retain/release/delete
  • Next by Date: [OT] Submitting app listing to Apple's product site
  • Previous by thread: Re: custom views, bindings, and array controller
  • Next by thread: Tiger documentation update
  • Index(es):
    • Date
    • Thread