Reading time: 6 min

Pull to refresh is a common UI pattern, supported in UIKit via UIRefreshControl. (Un)surprisingly, it's also unavailable in SwiftUI.

This recipe shows how to implement this functionality with any ScrollView. It also doesn't rely on UIViewRepresentable. The end result will look like this:

...

Continue Reading...