• 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: Nested binding question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nested binding question


  • Subject: Re: Nested binding question
  • From: mmalc crawford <email@hidden>
  • Date: Tue, 4 Sep 2007 11:15:18 -0700


On Sep 4, 2007, at 10:52 AM, Kevin Hoffman wrote:

So, theoretically, were someone to try and do this kind of nested
binding today using Tiger, how would they go about doing it?

It's not quite clear now exactly what you want.

Is it the case that you have an array of Order objects managed by an array controller (Orders Controller) and you want in a table view to display the Order Items associated with the current selection in Orders Controller?

If so, you need a second array controller, to manage the selection.
Its Class Name will (obviously) be OrderItem, and you bind its Content Array to [Orders Controller].selection.


mmalc

_______________________________________________

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: Nested binding question
      • From: "Kevin Hoffman" <email@hidden>
References: 
 >Nested binding question (From: "Kevin Hoffman" <email@hidden>)
 >RE: Nested binding question (From: "Kevin Hoffman" <email@hidden>)

  • Prev by Date: RE: Nested binding question
  • Next by Date: RE: Nested binding question
  • Previous by thread: RE: Nested binding question
  • Next by thread: RE: Nested binding question
  • Index(es):
    • Date
    • Thread