RE: Nested binding question
RE: Nested binding question
- Subject: RE: Nested binding question
- From: "Kevin Hoffman" <email@hidden>
- Date: Tue, 4 Sep 2007 14:17:06 -0400
- Thread-topic: Nested binding question
Actually what I need is the nested binding without having a current
selection.
So, I need some custom views where each view is bound to an element in
the Orders controller, and within each of those custom views, there is a
table view that is bound to the orderItems mutable array property on the
order item to which the view is bound.
Hopefully that made it clearer instead of sounding more delusional :)
-----Original Message-----
From: mmalc crawford [mailto:email@hidden]
Sent: Tuesday, September 04, 2007 2:15 PM
To: Kevin Hoffman
Cc: email@hidden
Subject: Re: Nested binding question
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