• 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
Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)


  • Subject: Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 17 Mar 2011 22:38:37 -0700

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@hidden)

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:

This email sent to email@hidden

References: 
 >Another bindings conundrum (editing a to-many relationship through an NSArrayController) (From: Luke Evans <email@hidden>)
 >Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController) (From: Luke Evans <email@hidden>)

  • Prev by Date: Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)
  • Next by Date: Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)
  • Previous by thread: Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)
  • Next by thread: NSMatrix bindings
  • Index(es):
    • Date
    • Thread