Re: NSColorWell in a NSTableView
Re: NSColorWell in a NSTableView
- Subject: Re: NSColorWell in a NSTableView
- From: Corbin Dunn <email@hidden>
- Date: Fri, 05 Nov 2010 16:46:42 -0700
On Nov 4, 2010, at 2:15 PM, vincent habchi wrote:
> Hi to all,
>
> I would like to put a NSColorWell into a column of a NSTableView. If what I have dug out on the net is not wrong, I can infer there are two main ways to achieve this:
>
> 1. Subclass a NSImageCell, draw a custom rectangle inside and handle actions in order to mimic a NSColorWell;
> 2. Write a custom NSCell class.
See the AnimatedTableView demo I wrote for WWDC a few years ago.
http://developer.apple.com/library/mac/#samplecode/AnimatedTableView/Introduction/Intro.html
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