Implement vibrancy on NSTextField

Hi, How can I make NSTextField vibracny? I added a NSVisualEffectView and add a label how can I make my label vibrancy

https://imgur.com/a/Y6axxms

Thanks!

What is it that you can't make work ?

Is it for MacOS ?

Here is for iOS (and objC), but adaptation should be easy:

https://stackoverflow.com/questions/26265936/uitextfield-placeholder-with-vibrancy

But consider this note from NSVisualEffectView doc in Xcode:

Note

AppKit views and controls automatically add vibrancy where appropriate. For example, NSTextField enables vibrancy to increase the contrast between the text and background. Don't change the vibrancy settings of standard AppKit views and controls.

I develop for macOS, the label is not vibrancy

Implement vibrancy on NSTextField
 
 
Q