Swift 6.4 and iOS 27. The package now requires Xcode 27, adopts every upcoming feature that
becomes the default in Swift 7, and has been verified on iOS 27. This release also fixes the thumb
drifting away from the finger during a drag — by more than 50 pt on a vertical slider.
Breaking: projects still on Xcode 26 cannot resolve this version and should stay on
0.3.0. The minimum iOS version is unchanged (iOS 18).
Changed
- The package now requires Swift 6.4 (
swift-tools-version: 6.4, Xcode 27). Projects still on
Xcode 26 cannot resolve this version and should stay on0.3.0. - The library adopts the upcoming features that become the default in the Swift 7 language
mode:ExistentialAny,InternalImportsByDefault,MemberImportVisibility,
InferIsolatedConformances,NonisolatedNonsendingByDefaultandImmutableWeakCaptures.
Imports whose types appear in the public API are nowpublic import. The language mode
stays Swift 6 — Swift 6.4 does not introduce a new one. - Verified on iOS 27.0.
Fixed
- The thumb no longer drifts away from the finger during a drag. Each touch event rounded the
accumulated value to the nearest step, so half-step movements counted as whole steps: the
thumb ran about 10% ahead horizontally and more than 1.5× ahead on a vertical slider, and
after the finger went past an end it came back detached by tens of points. The value is now
derived from the total distance since the drag began.
Full changelog: 0.3.0...0.4.0