/ Refresh

RefreshUI provide native refresh control to SwiftUI

RefreshUI provide native refresh control to SwiftUI

RefreshUI

RefreshUI provide native refresh control to SwiftUI.

ios

mac

Usage

List {
    ForEach(items, id: \.self) { (item) in
        Text("\(item)")
    }
}.onPull(perform: {
    self.items.shuffle()
}, isLoading: isLoading)

GitHub