iOS Swift Tutorial: Pull to Refresh with SwiftUI and UIViewRepresentable (2020) | Brian Advent

preview_player
Показать описание
Learn how to use UIRefreshControl together with SwiftUI and UIViewRepresentable.

🎯 SWIFT UI COURSE - JUST $12.99 (valid during June 2020) 🎯

✉️ COMMENTS ✉️
If you have questions about the video or Cocoa programming, please comment below.
Рекомендации по теме
Комментарии
Автор

Do you mind explain how does it work with async data? Sorry the reason I ask is because I got an issue with Pull To Refresh in Large Title

thucpham
Автор

I have two questions:
- It doesn't seem to work without the NavigationView inside the GeometryReader. Why is that? I already have a root NavigationView elsewhere.
- Does this support programmatic refresh?

bartjuhh
Автор

Shipping swiftui with scrollview, which doesn't have a pull to refresh functionality is like having a car without an engine. Apple being a hot garbage once again.

GoeHybrid
Автор

and if I don't need the list as a data display, your frame won't work correctly

andykotov-dev
visit shbcf.ru