Skip to content

Releases: TimOliver/BlurUIKit

v1.4.0

13 Feb 10:28

Choose a tag to compare

Breaking Changes

  • dimmingOvershoot has been refactored so the fraction value maps 1.0 to 100% (As opposed to 0.0 previously being 100%). This enables being able to shrink the dimming view inside the blur view as needed.

Fixes

  • An issue where changing between light and dark mode would periodically break the blur view
  • Fixed needing to map SwiftUI Color to UIColor in the SwiftUI wrapper

v1.3.0

10 Feb 12:01

Choose a tag to compare

Added

  • Official SwiftUI Support. 🥳 You can now add blur views to your SwiftUI views via the new VariableBlur struct.

Enhancements

  • Replaced Core Image's gradient generation with one done manually pixel-by-pixel in Core Graphics. This allows ultimate control to provide a straight linear gradient for the blur view, and a proper ease-in-ease-out variant for the dimming view.
  • Gradient images are now cached so they don't need to be regenerated as often (Such as during screen rotations)
  • For less hacking of UIVisualEffectView, VariableBlurView is now a vanilla container view that hosts the blur view and the dimming view as separate subviews

v1.2.3

03 Feb 03:32

Choose a tag to compare

Fixed

  • Disabled clipping on the dimming view, which was causing the gradient to be abruptly stopped on older versions of iOS.

v1.2.2

18 Nov 06:11

Choose a tag to compare

Fixed

  • A regression where setting the dimming view's tint color to nil wouldn't actually hide the dimming view.
  • A performance inefficiency where even if the tint color was nil, a gradient image for it would still be generated.

v1.2.1

11 Nov 12:28

Choose a tag to compare

Fixed

  • An issue when using .relative to scale the contrast gradient wasn't sizing correctly.
  • Clamped the frame layout of the contrast gradient to align to the pixel grid to avoid aliasing issues.

v1.2.0

23 Oct 01:46

Choose a tag to compare

Added

  • Added blurRadius on UIView to allow dynamically adding gaussian blur to views.

v1.1.1

21 Jan 01:31
88bf16a

Choose a tag to compare

Fixed

  • Naming typo in the different styles of gradients used

v1.1.0

17 Jan 03:05

Choose a tag to compare

Added

  • Split out the gradient mask image and dimming mask image to use non-smooth and smooth gradients respectively to produce more applying visual quality.

v1.0.1

04 Jan 16:25

Choose a tag to compare

Fixed

  • Typo in Package.swift