In my OSX app I'm subclassing NSTablRowView to make custom row selection color for my view based custom tableView.
I'm using following method overriding for that:
- (void)drawSelectionInRect:(NSRect)dirtyRect
I've noticed that this method is getting called all the time when at least one of the rows that is on screen is selected.
I'm curious if there is a way to not redraw the rows all the time, but do it only on row selection change?!
Any kind of help is highly appreciated!