How to invert icons when selected in NSOutlineView or NSTableView

In my application, I use icons within NSOutlineViewand NSTableView(through NSImageCell).

The icons look great, but when a row is selected, the icons do not display very well:

current

In Finder, for example, the selected icon gets a white negative:

enter image description here

How can I achieve this effect in my application?

+4
source share

Source: https://habr.com/ru/post/1548494/


All Articles