Performance of selecting table rows

While not a major problem, selecting table rows seems to be noticeably more sluggish compared to other apps that make heavy use of table views (such as Finder).

In other words, the time between clicking and the table row visibly highlighting feels longer than in other apps.

I assume this is due to some details in SwiftUI that have yet to be sorted out, or is it the fault of the Garden App sample code? Perhaps both?

AFAIK, Finder is not using SwiftUI…

Is it on simulator or on device ?

Could you post the code or the reference to the sample app ?

AFAIK, Finder is not using SwiftUI…

Well, yes. But I'd expect a table view constructed with SwiftUI to have similar performance characteristics to one built with AppKit.

Is it on simulator or on device ? Could you post the code or the reference to the sample app ?

I am posting about the "Garden App" SwiftUI Mac app that is built during the code along WWDC21 sessions. See the tags for more info.

Performance of selecting table rows
 
 
Q