Post

Replies

Boosts

Views

Activity

Reply to SwiftData with inMemory storage promptly crashes with nw_socket_handle_socket_event
I figured out my initial issue here. While I was fetching data and converting it to SwiftData, I had forgotten to insert it into SwiftData via context.insert(...). Doing this fixed this issue. Now I have the exact same error in another part of my app after modifying data, so I guess SwiftData/CoreData just throws the same thing regardless of what issue it encounters.
Oct ’23