• 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: Help binding values to a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help binding values to a tableview


  • Subject: Re: Help binding values to a tableview
  • From: Allan Odgaard <email@hidden>
  • Date: Thu, 13 May 2004 14:06:34 +0200

On 13. May 2004, at 12:09, email@hidden wrote:

[...] I have 1 list of elements and each element has two lists to it. I want to have it so when I select one element from the first view, the two associated lists will display in the other two views. [...] With the method selectionDidChange I tell the two other controllers to removeObjects: [...]

All you need to do is bind 'contentArray' of the second and third array controller to the first array controller with a key path like "selection.firstList" and "selection.secondList". Assuming that the objects shown in the first table view have a firstList and secondList key holding the list (array).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Help binding values to a tableview (From: email@hidden)

  • Prev by Date: window rotation
  • Next by Date: Re: Flash animation
  • Previous by thread: Help binding values to a tableview
  • Next by thread: window rotation
  • Index(es):
    • Date
    • Thread