How does SwiftData work with background operations? CoreData had background context that could be used to avoid UI hang for heavy operations.
Is there an equivalent in SwiftData, and if so, do I have to merge changes or does it save directly to persistent store?
Post
Replies
Boosts
Views
Activity
Why would it not allow to set the value in the init statement. The @Model allows this and as I understand it also acts as an @Observable.