Post

Replies

Boosts

Views

Activity

Reply to Using any SwiftData Query causes app to hang
Thank you for the answer. I'll keep the printing function in mind. As for my original issue, I later found that it was likely due to 2 embedded NavigationStack. Removing the duplicated inner stack resolved the issue. I was able to continue, but got another hang with basically the same query. I am at the point where the time I've saved with the more concise syntax of SwiftData has been completely lost to debugging issues. I will revert back to CoreData. Even if it is more code, I feel like I have better control of the behaviour and life cycle.
4w