Post

Replies

Boosts

Views

Activity

Reply to SwiftData randomly throwing EXC_BAD_ACCESS on Model entity creation and update
In the same situation, adding @MainActor + async to all methods of my SwiftDataService helped me. For example: @MainActor func updatePerson(person: Person) async { ... } Unfortunately, it doesn't look like multithreading :/
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’23