I have a NSButtonCell (a checkbox) in a cell-based NSTableView. I try to set its background color to a semi-transparent color (used tor the rest of the row), but this color fades to black. If the row color has an alpha of zero, the background of the control appears solid black.
Is there a way to mimic transparency on white instead of this (probably) nil color which default to black (0,0,0) ?
I think you should use buttons'
layerproperty instead since the gradual NSCell deprecation introduced several years ago already.It's much more easier than messing with a
drawRect(:)-method.