Skip to content

Instantly share code, notes, and snippets.

View henryheleine's full-sized avatar

Henry Heleine henryheleine

View GitHub Profile
// Authoer: The SwiftUI Lab
// Full article: https://swiftui-lab.com/scrollview-pull-to-refresh/
import SwiftUI
struct ContentView: View {
@ObservedObject var model = MyModel()
@State private var alternate: Bool = true
let array = Array<String>(repeating: "Hello", count: 100)