github Lessica/TrollSpeed v1.10.0

latest releases: v1.12.1, v1.12.0, v1.11.11...
8 months ago
  • NEW Feature: Supports inverted color.

Developer Notes

This feature uses CABackdropLayer as the label background, with following CAFilters:

  • kCAFilterGaussianBlur Gaussian Blur radius 50pt, normalized edges
  • kCAFilterColorBrightness Brightness -30%
  • kCAFilterColorContrast Contrast 500x
  • kCAFilterColorSaturate Saturation 0
  • kCAFilterColorInvert Color Inversion

Then follow the steps:

  1. Make a CATextLayer as the backdrop layer's mask.
  2. -setAttributedText: to the original label to hold the layout.
  3. -setString: to the text layer.

Don't miss a new TrollSpeed release

NewReleases is sending notifications on new releases.