Native-feeling pull-to-refresh for macOS SwiftUI, backed by NSScrollView over-scroll and
forwarded to .refreshable on iOS.
Documentation | Swift Package Index
Pull past the top of a List or ScrollView: the indicator fills as you drag,
arms once you pass the threshold, and spins while the refresh runs.
If the player above doesn't load, watch the clip directly.
.package(url: "https://github.com/adamtheturtle/MacPullToRefresh.git", from: "0.3.1")Add the MacPullToRefresh product to your target dependencies.
MacPullToRefresh: A SwiftUI modifier for pull-to-refresh on macOS and iOS.
- Swift 6.2+
- macOS 13+ or iOS 16+
- visionOS is not a supported platform (see DocC platform support)
This repository is a library package. Package.resolved is gitignored on purpose so consumers
resolve dependency versions against their own app or workspace lockfile. Do not commit a
resolved file here; CI and local builds resolve fresh from Package.swift.
MIT. See LICENSE.