• 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
Binding to two values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding to two values


  • Subject: Binding to two values
  • From: Kelvin Chung <email@hidden>
  • Date: Thu, 28 May 2009 11:30:34 -0600

I'm not sure the best way to do this, but suppose I have two NSArrayControllers, tableView1Controller and tableView2Controller. Now suppose I have an NSArrayController, table3Controller.

What I am trying to do is to have it so that table3Controller's Content Array binding depend on both tableView1Controller.selection and tableView2Controller.selection (an NSValueTransformer will then transform this into an NSArray). Clearly, I can't bind to both unless I somehow aggregate the two together. What is the best way to do that?
_______________________________________________


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


  • Follow-Ups:
    • Re: Binding to two values
      • From: Clint Shryock <email@hidden>
  • Prev by Date: Re: performSelectorOnMainThread problem SOLVED
  • Next by Date: Re: performSelectorOnMainThread problem
  • Previous by thread: Re: Creating strings in a loop - Efficiency Question
  • Next by thread: Re: Binding to two values
  • Index(es):
    • Date
    • Thread