Q:

Why is my image mask not working on an NSSegmentedControl?

Im trying to mimic Xcode's left panel icon : blue when selected, dark when unselected : 
I have a pdf file with my image, I add it to images.xcassets as "vector" and "Render as template". However this doesn't work : here is how it looks
 and 
Any idea ?

A:

That is the default behaviour of NSSegmentedCell.You can subclass NSSegmentedCell and override the draw.

