NSObjectController can't observe NSArrayController's selection?
NSObjectController can't observe NSArrayController's selection?
- Subject: NSObjectController can't observe NSArrayController's selection?
- From: Gerd Knops <email@hidden>
- Date: Mon, 2 Apr 2007 11:39:30 -0500
I have an NSArrayController's contentArray bound to an array of
dictionaries, all of which have a 'name' key.
Now I can bind a text field to the array controller, key 'selection'
and path to 'name', and it will show the 'name' property of the
selected dictionary.
But if I add an NSObjectController, bind it to the array controller,
key set to 'selection' and no path, expecting it to now reflect the
selected dictionary. Then I bind a text field to the object
controller, key 'selection' and path 'name', but nothing happens.
Shouldn't this work? What am I missing?
Gerd
_______________________________________________
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