The Designing Toolbar Icons' section of OS X Human Interface Guidelines says that the system applies effects on icons in the toolbar that change their appearance. In other words, we have to create a solid black icon like this:
and the system displays it like this:
That's great, but it does not work for me.
I'm using Interface Builder. I have a Rounded Textured Button inside a NSToolbarItem:
I have assigned a solid black icon to the toolbar item:
When I show it, however, it appears like a... solid black icon:
What am I doing wrong? This thing is driving me crazy.
Try to rename your icon from Test
to TestTemplate
. You can find more information about this trick in OS X Release Notes.