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)
RefreshUI provide native refresh control to SwiftUI.
List {
ForEach(items, id: \.self) { (item) in
Text("\(item)")
}
}.onPull(perform: {
self.items.shuffle()
}, isLoading: isLoading)