Re: Using a NSCollectionView in a table cell.
Re: Using a NSCollectionView in a table cell.
- Subject: Re: Using a NSCollectionView in a table cell.
- From: Corbin Dunn <email@hidden>
- Date: Thu, 18 Dec 2008 08:52:39 -0800
On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote:
I need to be able to use a NSCollectionView inside of a cell for a
NSOutlineView.
The outline view will have only a single column and look like:
> Collapsible Row 1
NSCollectionView 1
> Collapsible Row 2
NSCollectionView 2
and so on.
What I am uncertain about is just how to get the NSCollectionView
inside of a table cell and be able to select an item inside of the
collection view.
The NSCollectionView will contain a set of images with labels.
Of course, I could probably subclass a NSTextFieldCell and draw this
all myself, but I would prefer to use the NSCollectionView which has
all of the behaviors I want already done.
Any thoughts, comment and especially pointers to sample code would
be appreciated.
You will have more problems and trouble attempting to get an NSView
inside of a cell. I suggest subclassing NSTextFieldCell. Please do log
a bug requesting the ability to easily put views into cells.
corbin
_______________________________________________
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