AsyncView is a SwiftUI View for handling in-progress and error states when loading data asynchronously using async/await. It's like AsyncImage but for data.
Appreciate the contribution. The code looks great.
Any chance of dropping the min deploy target to iOS 14?
It looks like it's only .task and .refreshable that would need workaround.
Perhaps you could use .onAppear and maybe drop refreshable all together if it's too much bother? (just for iOS 14)?
Appreciate the contribution. The code looks great.
Any chance of dropping the min deploy target to iOS 14? It looks like it's only
.task
and.refreshable
that would need workaround. Perhaps you could use.onAppear
and maybe drop refreshable all together if it's too much bother? (just for iOS 14)?