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 9/4/07, Kevin Hoffman <email@hidden> wrote:
> Ok, so, the information below is quite incorrect. NSCollectionView ...
> pfft. no idea where I got the name of that class!!
>
> So, theoretically, were someone to try and do this kind of nested
> binding today using Tiger, how would they go about doing it?

  Though nowhere near as elegant as I imagine this theoretical
"NSCollectionView" class you're referring to, you can achieve this
with a more standard master / detail configuration.

  Rather than have a list of objects that show the order details and a
sublist of their line-items, you could have one table of orders
(master) and the order information + line items view (detail) as
separate items, the details of course being dependent on the master's
selection. The suggestions mmalc gave you (regarding the configuration
of the array controllers) are just right for this.

  Otherwise, you'd have to figure this fabled "collection view
thingie" out yourself, wait until someone "officially invents" it for
an upcoming version of OS X, or reinvent the wheel yourself for Tiger.

--
I.S.
_______________________________________________

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.