• 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: Wed, 5 Sep 2007 08:39:14 -0700


On Sep 4, 2007, at 11:27 AM, Kevin Hoffman wrote:

Yeah, that's the idea.
Order - shows up as a box
Order Description - label
Order Items - bound to a table view
Order - shows up as a box
Order Description - label
Order Items - bound to a table view

If the table view is a subview of your custom view, I *think* the same principles apply as with my original reply:

"... 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."


The difference is that your custom view will itself need its own array controller, and when it (your custom view) is bound to its value, it will have to bind the Content Array of its array controller to the orderItems property of the value.

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


References: 
 >Nested binding question (From: "Kevin Hoffman" <email@hidden>)
 >RE: Nested binding question (From: "Kevin Hoffman" <email@hidden>)
 >Re: Nested binding question (From: mmalc crawford <email@hidden>)
 >RE: Nested binding question (From: "Kevin Hoffman" <email@hidden>)
 >Re: Nested binding question (From: Dominik Pich <email@hidden>)
 >RE: Nested binding question (From: "Kevin Hoffman" <email@hidden>)

  • Prev by Date: Re: Using an empty string as the default value for a Core Data attribute in the XCode modeller
  • Next by Date: Re: Using an empty string as the default value for a Core Data attribute in the XCode modeller
  • Previous by thread: RE: Nested binding question
  • Next by thread: Re: Nested binding question
  • Index(es):
    • Date
    • Thread