RefreshUI provide native refresh control to SwiftUI
RefreshUI
RefreshUI provide native refresh control to SwiftUI.
Usage
List {
ForEach(items, id: \.self) { (item) in
Text("\(item)")
}
}.onPull(perform: {
self.items.shuffle()
}, isLoading: isLoading)