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?

Replies

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.

  • Well, that would be easier for us if you posted the link to directly go to the session.

  • Sorry about that. Here is the session: https://developer.apple.com/wwdc21/10062

  • Thanks for the link. But I've not installe MacOS12 beta, so I cannot test.