Standard highlighting color in OS X applications is blue.
Is it possible to change it to another color, e.g. gray?
Note that I am using the new view-based
You have to subclass NSTableView
, and rewrite the functions below in order to change the alternating colors.
(void) drawRow: (NSInteger) row clipRect: (NSRect) clipRect
(void) drawBackgroundInClipRect: (NSRect) clipRect
** This one to change the main and alternate color **
Use a for loop and insert this conditional (i % 2 == 0)
to detect odd and even rows.