Skip to content
This repository was archived by the owner on Nov 13, 2020. It is now read-only.

Latest commit

 

History

History
29 lines (21 loc) · 692 Bytes

File metadata and controls

29 lines (21 loc) · 692 Bytes

RefreshUI is no longer available. I'm preferred to use Introspect. https://github.com/siteline/SwiftUI-Introspect

RefreshUI

RefreshUI provide native refresh control to SwiftUI.

⚠️ This library uses blackmagic.🧞‍♂️

iOS macOS

Usage

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

License

RefreshUI is licensed under the MIT License. See the LICENSE file for more information.