Skip to content

v1.10.0

Choose a tag to compare

@Lessica Lessica released this 25 Jan 02:02
· 76 commits to main since this release
a27410b
  • 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.

Video Preview

RPReplay_Final1706422905.mov