I added an NSBox to my view, I set the fill color to the color I want:
But the color doesn't show up in Interface Builder and doesn't show up when I run the app. What am I missing?
I've also tried setting it programmatically via
[self.myBox setFillColor:[NSColor greenColor]];
but the fill color still won't change...
From the NSBox
documentation:
Special Considerations
Functional only when the receiver’s box type (
boxType
) isNSBoxCustom
and its border type (borderType
) isNSLineBorder
.