Skip to content

1.1.0

Latest

Choose a tag to compare

@valzevul valzevul released this 17 Oct 23:03
71ca1c1

iOS 27 and Duo support.

iOS 27 lets the user set a Liquid Glass tint level in Settings, and its glass, tab bar, switch and slider look and move differently from iOS 26's. Theseus now follows both systems: the tint level comes from the system setting on iOS 26 and 27, and the material draws the look of the system it runs on, with the iOS 26 look kept as an option.

.package(url: "https://github.com/valzevul/Theseus.git", from: "1.1.0")

What's new

  • TheseusSettings.followsSystemTint, on by default, reads iOS 27's Tint Amount or iOS 26's Clear or Tinted choice, both at launch and whenever it changes.
  • TheseusSettings.glassStyle: automatic, iOS26 or iOS27.
  • Regular and clear glass draw UIGlassEffect as iOS 27 builds it, from the system's own formulas; the iOS 26 recipe sits behind glassStyle iOS26.
  • Tab bar: iOS 27's chrome, pill, items, drag lens, drag glow and lift. On iOS 26 the bar also turns light or dark with the page behind it.
  • Switch and slider: the pressed knob glass with native springs, latch and rubber band on both systems.
  • VoiceOver and Reduce Motion for all three controls.

Breaking changes

  • tintSpectrum no longer rests at 0.5. It follows the user's system setting. Setting it yourself, or enabling its persistence, turns following off.
  • Defaults moved to the measured native values: TheseusTabBar.unselectedTintColor (now nativeUnselectedTint), TheseusTabBar.glassBlurRadius 3 to 0, TheseusTheme.surfaceTintWeight 0.8 to 1.0, TheseusSwitch.offTintColor, TheseusSlider.backColor, TheseusShape.continuousCapsule on, and TheseusConfiguration.clear now renders opaque.
  • TheseusTabBarItem.badge is deprecated and badges are not rendered.
  • Deprecated with no effect, compiling with warnings: TheseusEdgeEffects.rimRange, rimHardness, glareRange, glareConvergence, lightAngle; TheseusRefraction.mode, fidelity; TheseusBlur.vibrancy, luminance; TheseusMorphConfiguration.smoothing, TheseusStretchConfiguration.smoothing; TheseusConfiguration.capturePadding; TheseusTabBar.glassRefractionFactor; the glass knobs in TheseusSwitch.Layout and TheseusSlider.Layout; the TheseusCapability policy helpers.
  • UIKit demo deployment target 13 to 15. The library stays at iOS 13.

The full list of changes and fixes is in CHANGELOG.md.