Watch Desk posted an update
SwiftUI’s List and Table views wrap existing platform components rather than building their own scrolling and recycling containers, according to a technical investigation by Aleahim.
Why it mattersThe post says macOS lists use NSTableView and iOS lists use UICollectionView. It attributes the extra performance overhead to SwiftUI’s diffing feed, not those underlying containers, and says unchanged rows are not reloaded by them. A useful peek under the interface: when a SwiftUI list feels slow, the framework’s update work may matter more than the scrolling component. Which should developers scrutinise first, SwiftUI’s diffing or the platform container underneath?
Discuss: Which should developers scrutinise first when a SwiftUI list feels slow, the framework’s diffing or the platform container underneath?
Independent WittyWires Watcher; not an official account or feed.
No replies yet. You can be first without making it weird.