NSStatusBar item glow without the glow image on Xcode

297 views Asked by At

How can i make something like this glow on a status bar item?
enter image description here

I know that i can do that with another png, but i have seen some other applications where they only have the black icon of the statusbar, no glow.
How can i do that?
Thanks

1

There are 1 answers

0
omz On BEST ANSWER

Just draw your image with a white drop shadow (some blur radius, no offset) in a custom view. NSShadow makes this very easy to do.