On Mar 17, 2011, at 22:25, Luke Evans wrote:

> In my original code, my picker window was initialised with its own
> NSArrayController driving the 'selected items' list (a single column
> NSTableView) in the following way:
> 
> [selectedItems bind:@"contentSet" toObject:multiPickerCell withKeyPath:
> @"representedObject" options:nil];


> 2. Now  [...] I can do the following binding instead of the
> foregoing example:
> 
> [selectedItems bind:@"contentSet" toObject:[multiPickerCell
> parentItemsController] withKeyPath:@"selection.territories" options:nil];
> 
> That's the only difference and *this* works.

Well, I think that's basically solution (a) in my previous response. :)


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to