Coloring rows in View based NSTableview
问题 I have a view based nstableview. I want to color entire row based on some condtion for which I have used code below - (NSTableRowView *)tableView:(NSTableView *)tableView rowViewForRow:(NSInteger)row { NSTableRowView *view = [[NSTableRowView alloc] initWithFrame:NSMakeRect(1, 1, 100, 50)]; [view setBackgroundColor:[NSColor redColor]]; return view;; } The delegate method is called, but table doesn't seem to be using NSTableRowView returned by delegate method. Main aim here is coloring entire