Experiment(s) to try and tint an NSVisualEffectView.
Swift
Latest commit 36d53fe Oct 28, 2015 @boyvanamstel Fix typo
Permalink
Failed to load latest commit information.
Tinted Visual Effect View.xcodeproj Fix typo Oct 28, 2015
Tinted Visual Effect View Fix typo Oct 28, 2015
screenshots Initial import Oct 28, 2015
LICENSE Initial import Oct 28, 2015
README.md Initial import Oct 28, 2015

README.md

Overview

I'm trying to change the tint of the NSVisualEffectView. This is what I've come up with. Send me a pull request if you know a better way.

Tintend visual effect view

Tinting

  1. Add a new NSVisualEffectView to your main window.
  2. Enable layer backing.
  3. Loop through the layers and change the backgroundColor of the layer called 'ClearCopyLayer'.

No science behind this method.

Known Issues

Changing the materialfrom light to dark or vice versa removes the custom backgroundColor. Even if it's applied after changing the material.

License

MIT License, see LICENSE for details.