Post

Replies

Boosts

Views

Activity

Reply to SwiftData - How to properly handle unique constraint violations?
I'm very interested in how this is supposed to work. Right now I just get a crash. The insert doesn't throw and even if I call try modelContext.save() after the insert, I just get a crash rather than an error which I can catch and handle. It's nice that SwiftData can enforce the unique attribute constraint in the underlying database, but what's the point if I can't handle it and the app just crashes?
Topic: App & System Services SubTopic: iCloud Tags:
Mar ’24
Reply to Voice Isolation Suggestions
Sorry I posted this question twice and would delete if I could. Duplicated here.
Topic: Audio SubTopic:
Audio Q&A
Replies
Boosts
Views
Activity
23h
Reply to Acoustic Echo Cancellation doesn't initially work
This question was duplicated here and has been answered in that thread.
Topic: Audio SubTopic:
Audio Q&A
Replies
Boosts
Views
Activity
23h
Reply to SwiftData - How to properly handle unique constraint violations?
I'm very interested in how this is supposed to work. Right now I just get a crash. The insert doesn't throw and even if I call try modelContext.save() after the insert, I just get a crash rather than an error which I can catch and handle. It's nice that SwiftData can enforce the unique attribute constraint in the underlying database, but what's the point if I can't handle it and the app just crashes?
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Mar ’24