I found this great subclass of NSWindow, however it does not add any noise to the gradient of the toolbar. If you look closely at The App Store, Reeder or Twitter they all have noise over the gradient.
How do I add noise to a gradient?
I found this thread but I don’t understand how to put this into code.
First of all the nessesary code has been added to
INAppStoreWindow, so i have no use case for this anymore. However for people who would like to know how to do this, heres how it’s done byINAppStoreWindow.First a function for making the image with noise is created.
Then the image is used to overlay the noise over the current graphics