I have NSButtons
created in Storyboard that I would like to change the background color for. I have searched SO and Google but none of the solutions actually work on my project or even a simple test project. I've tried:
- Setting the button.layer.backgroundColor (including with and without
importing QuartzCore and setting
wantsLayer
). - Getting the NSButtonCell from the NSButton and changing the background color. I've tried this with bordered, unbordered, transparent, etc. No change in background color. I've tried changing from square to gradient, no luck.