u/karinprater

▲ 42 r/SwiftUI

Adding search to a paginated SwiftUI list sounds simple until you actually do it. Debouncing keystrokes, resetting pagination on new queries, stale fetches when multiple async tasks compete — it gets messy fast.

In the third part of my SwiftUI in Production series, I walk through all of it as the problems come up. Some of it we fix, some of it we'll clean up properly in the next part.

https://youtu.be/dQM7brHHWx4

u/karinprater — 3 days ago

I built an infinite scroll list in SwiftUI and ran into cell jumping, duplicate fetches, task canceling on scroll... went through all of it, tested on Instruments, zero hitches. Here's the full walkthrough

youtu.be
u/karinprater — 9 days ago