How can I implement vibrancy effect on NSTextField
I added an NSVisualEffectView
with interface builder and try to use NSAppearance
to add vibrancy to the label
var varLabel = NSTextField()
varLabel.stringValue = "Some"
varLabel.appearance = NSAppearance(named: .vibrantLight)
allowsVibrancy
.Objective-C
Swift
Objective-C
Swift
Screenshot