• 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
Issues Binding to Child of On The Fly Vended Key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issues Binding to Child of On The Fly Vended Key


  • Subject: Issues Binding to Child of On The Fly Vended Key
  • From: Colin Cornaby <email@hidden>
  • Date: Mon, 11 Jun 2007 13:59:36 -0700

I have a class that vends a key, which I will call parentKey, and then parentKey has a key that is a NSNumber, which I will call childKey. I have a check box that is bound to the childKey of the parentKey of the currently selected object. So the check box is bound to an NSArrayController, the controller key is selection, and the model key path is parentKey.childKey.

When the selection changes, the value of the check box properly updates to reflect the value of parentKey.childKey of the currently selected row. When I set the value of childKey elsewhere in the app, the button updates automatically to reflect the new value. However, when I set the value of parentKey of the selection object elsewhere in the app, the button's status does not automatically change to reflect the new childKey value of the new parentKey value.

Is there any sort of way to get the app to automatically update objects that are bound to childKey when parentKey changes?


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: Child windows
  • Next by Date: RS: menu items
  • Previous by thread: Child windows
  • Next by thread: RS: menu items
  • Index(es):
    • Date
    • Thread