Re: Nested binding question
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