Mailing Lists: Apple Mailing Lists

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

More trouble with NSCollectionView



Hi All,

Maybe it's just me, but I feel like the amount of documentation that Apple has provided on the new NSCollectionView class and its associated classes could be a bit more substantial. Here's what I'm trying to accomplish: I have a number of NSManagedObjects, all belonging to the same entity, and I want the various pieces of data stored within each one displayed in an NSCollectionView - such that each subview within the NSCollectionView represents one NSManagedObject. How can I do this programmatically - meaning not in IB?

I'm thinking I should create an array of NSCollectionViewItems (one for each managed object that I have), set each item's associated view, and then set this array as the content of the NSCollectionView. Does this sound right or am I totally missing the point here?

Thanks,
Carter
_______________________________________________

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


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.