Post

Replies

Boosts

Views

Activity

Does SwiftUI List reuse its cells?
I have a set of SwiftData objects, which include a thumbnail and also HD image data. I also have SwiftUI List, presenting, some information, including thumbnail image. The problem is, firstly, when I scroll, memory goes up and up, never seemingly releasing objects showed once. Secondly, it seems, it loads in the memory the whole object, including HD data, not only thumbnail. What can be the right way to work around here?
2
0
464
Jul ’24