RE: nscolorwell cell question
RE: nscolorwell cell question
- Subject: RE: nscolorwell cell question
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Thu, 3 Apr 2003 12:14:19 -0500
>
Anyone know of a good nscolorwell cell class to put in a tableview?
>
Preferably a nice looking one. :)
You could simply change the row height.
>
>
Also, when a cell is changed in a tableview, how does the nstableview
>
notice and then notify the delegate? (I ask this in case I have to
>
write my own nscolorwell cell class).
It is actually the table column that manages the cells via -setDataCell.
This sets the "prototype" cell for the column. To set the value, you'll
use - tableView:objectValueForTableColumn:row: to return an NSColor for that
column.
Jonathan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.