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.
Topic: App & System Services SubTopic: iCloud Tags:
Oct ’23
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.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to How to wire SwiftData up to external data sources?
Apple added docs about read-only server side data: https://developer.apple.com/documentation/swiftdata/maintaining-a-local-copy-of-server-data I'm still not sure how one would integrate for read/write.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Unable to accept new developer program license agreement
After I accepted the agreement I had to open Preferences in Xcode and navigate to Accounts to trigger a refresh of my status and make my builds work again. Definitely really frustrating.
Replies
Boosts
Views
Activity
Mar ’22