Hi all!

I have the following situation: NSArrayController which handles array of
Core Data objects. Then I want to map it's selection (there can only be one
selected at a time) to NSObjectController's contents and then use the object
controller for binding to the view. I want to use the object controller as
the entry point for the second nib, but I can't get it to work even in the
same nib. This is how I figure:

NSObjectController bindings (in IB):
- Content Object > (my NSArrayController) with controller key "selection"

A label:
- Value > (the NSObjectController) with controller key "content" and model
key "name"

However the label shows nothing no matter what selection is there.
NSArrayController's selection is properly updated - if I bind the label to
it's selection.name directly it works. What am I missing?

Thanks, Tom
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to