SwiftData SwiftData: Solving Fatal Errors and EXC_BAD_ACCESS While Handling Entities on Different Threads I've recently switched the app I've been coding from CoreData to SwiftData and, once I sped up some backend code using concurrency, came across an issue where my code kept crashing when creating new entities. Here is how I solved both my fatal and bad access errors!
SwiftData SwiftData: Solving Filtering by an Entity in the Predicate With SwiftData announced I realized now is the best time to convert my data over. That said, it wasn't without its issues and I found filtering by an entity relationship was, for me, one of the biggest blockers. Here's how I solved it!