LVColorWellCell is a Cocoa NSActionCell derived class to allow displaying and picking colors from a Table View.
identifier property is populated for the color column.

awakeFromNib of your controller.
// // Replace @"color" with the identifier you provided in step 2. // NSUInteger index = [colorTable columnWithIdentifier:@"color"]; NSTableColumn * colorColumn = [[colorTable tableColumns] objectAtIndex:index]; LVColorWellCell * colorCell = [[LVColorWellCell alloc] init]; // This is the property name of the color value in the object/dictionary bound to the table view. [colorCell setColorKey:@"color"]; [colorColumn setDataCell:colorCell];
Delegate support right now fairly basic. The delegate can choose to return the color and replace the color when the user interacts with the color picker after clicking on the cell. The following protocol(not enforced) should spell out the expected behavior.
@protocol LVColorWellCellDelegate
-(void)colorCell:(LVColorWellCell *)colorCell
setColor:(NSColor *)color
forRow:(int)row;
-(NSColor *)colorCell:(LVColorWellCell *)colorCell
colorForRow:(int)row;
@end
Take a look at the demo project for a complete and working example for using delegates.