SwiftUI Main Thread Hang Detector
This is just a little snippet that is quite useful for reporting when your GUI thread (the main thread / actor) hangs for a significant amount of time. There are numerous heavier-weight tools for analysing this sort of thing, but I’ve found that this simple monitor does what I need most of the time.
1 Comment RSS · Twitter · Mastodon
January 25, 2024 1:03 PM
Are hangs and UI unresponsiveness such a common problem in SwiftUI that using something like this is necessary?