Issues Binding to Child of On The Fly Vended Key
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