Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Nested binding question (From: "Kevin Hoffman" <email@hidden>)
 >RE: Nested binding question (From: "Kevin Hoffman" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.