Post

Replies

Boosts

Views

Activity

Reply to Notifications not working on ModelContext
I'm still encountering this issue and so confused there should not be an so obvious bug here. Recently I decide to make App purely relying on SwiftData: 1. reading from network 2. write to context 3. only read data when notified without interrupting context writing. For the notification object, I tried context, context.self, and even the actor calling the context.insert. None of them works. Really need help!
Topic: App & System Services SubTopic: iCloud Tags:
Sep ’24
Reply to Notifications not working on ModelContext
I'm still encountering this issue and so confused there should not be an so obvious bug here. Recently I decide to make App purely relying on SwiftData: 1. reading from network 2. write to context 3. only read data when notified without interrupting context writing. For the notification object, I tried context, context.self, and even the actor calling the context.insert. None of them works. Really need help!
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Sep ’24