How to fix slow List updates in SwiftUI

Описание к видео How to fix slow List updates in SwiftUI

If you have a SwiftUI list with lots of rows, you might find it's really slow to update when you sort or filter those rows – code that should run instantly might take one or two seconds, or if you have lots of items one or two minutes.

In this video I’m going to show you what code causes the problem, then show you the one line of SwiftUI code that fixes it, and finally the most important part: explain why the problem occurs so you aren't just adding code without understanding it.

You can find my free 100 Days of SwiftUI course here: hackingwithswift.com/100/swiftui

Комментарии

Информация по комментариям в разработке