Post

Replies

Boosts

Views

Activity

MacOS SwiftUI app hangs after view creation
Recent changes to my macOS swift app have caused it to hang before the window appears, and the app is unresponsive. Before those changes it came up but seemed slow, which I attibuted to view creation taking time. I've put some logging into the new creation, and I see that the views are created quickly, so something seems to be really slow, or in an infinite loop after that. I've tried running instrumentation to figure out what is going on here, I'm open for suggestions on what to do.
1
0
691
Jan ’23
MacOS SwiftUI app hangs after view creation
Recent changes to my macOS swift app have caused it to hang before the window appears, and the app is unresponsive. Before those changes it came up but seemed slow, which I attibuted to view creation taking time. I've put some logging into the new creation, and I see that the views are created quickly, so something seems to be really slow, or in an infinite loop after that. I've tried running instrumentation to figure out what is going on here, I'm open for suggestions on what to do.
Replies
1
Boosts
0
Views
691
Activity
Jan ’23