0.1.0
Initial release of MacPullToRefresh.
A native-feeling pull-to-refresh for macOS SwiftUI, backed by the real NSScrollView rubber-band.
- Native
NSScrollViewover-scroll — hookswillStartLiveScroll/ bounds changes rather than a hand-rolled offset hack, so pulls feel native. On macOS, SwiftUI's.refreshablenever fires from a gesture; this fixes that. - Works with SwiftUI
List(andScrollView) — handlesList's quirk of placing its background outside its scroll view. - Liquid Glass indicator on macOS 26, with an opaque-material fallback on earlier systems.
- Cross-platform call site — forwards to the native
.refreshableon iOS, so.macPullToRefresh { }works on both without an#if. - Accessibility-scaled indicator,
asyncrefresh actions, and live-scroll gating to avoid false triggers at launch.
Requires macOS 13+ / iOS 16+, built with the macOS 26 SDK.