Skip to content

pantelisss/PullableScrollView

Repository files navigation

PullableScrollView

Platform SwiftVersion

PullableScrollView is a SwiftUI component to integarate the missing pull to refresh functionality from scroll views.

Usage

PullableScrollView(tintColor: .red,
                   refreshCallback: { callback in
                       // Fetch some data and invoke `callBack` to hide the indicator.
                   }, content: {
                       Text("Scroll view content")
                   })

Install

SwiftPM

https://github.com/pantelisss/PullableScrollView.git

About

Pull to refresh functionality for SwiftUI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages