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.
Topic:
Programming Languages
SubTopic:
Swift
Tags: