More trouble with NSCollectionView
More trouble with NSCollectionView
- Subject: More trouble with NSCollectionView
- From: "Carter R. Harrison" <email@hidden>
- Date: Wed, 30 Jan 2008 13:40:08 -0500
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:
This email sent to email@hidden