• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
More trouble with NSCollectionView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: More trouble with NSCollectionView
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: insertText: without a NSWindow/NSView (or: Unicode input without NSView/Window)
  • Next by Date: Re: More trouble with NSCollectionView
  • Previous by thread: EXC_BAD_ACCESS while invoking static method
  • Next by thread: Re: More trouble with NSCollectionView
  • Index(es):
    • Date
    • Thread