NSTableview
- (void)tableView:(NSTableView *)tableView willDisplayCell:(id)cell1 forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
{
if(row==1)
[cell1 setBackgroundColor:[NSColor redColor]];
else if(row==2||row==3)
[cell1 setBackgroundColor:[NSColor greenColor]];
else
[cell1 setBackgroundColor:[NSColor clearColor]];
}
, .
, drawsBackground NSTextFieldCell, !