Post

Replies

Boosts

Views

Activity

Reply to SwiftData Crashes After Modifying The VersionedSchema More Than Once
Hello, this is not a problem with Xcode as you found out, but with the data that already exists in your database. Suppose you have 5 fields and some records in the database. You are adding a field that is NOT optional. What should happen to the records where the field is empty? However, the field cannot be empty. There are various strategies to deal with this, but I'm not sure it's easy with core data.
Dec ’23
Reply to SwiftData Crashes After Modifying The VersionedSchema More Than Once
Hello, this is not a problem with Xcode as you found out, but with the data that already exists in your database. Suppose you have 5 fields and some records in the database. You are adding a field that is NOT optional. What should happen to the records where the field is empty? However, the field cannot be empty. There are various strategies to deal with this, but I'm not sure it's easy with core data.
Replies
Boosts
Views
Activity
Dec ’23
Reply to trashItem, recycle, but no put back option...it depends
Hello Quinn, thank you for your reply. I hope that this will change something and the problem will be addressed again. NSWorkspace recycle initially looked more promising than FileManager trashItem, but that was not the case. But it has the advantage that an array can be passed. Thank you
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to iOS - record audio fails to record
Hi, I copied the code and permission to a macOS test app and the code works. I've read various statements about whether the audio recorder can be used in the iOS simulator. It seems like it's not possible, or is there a setting missing? Thank you
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to AVSpeechSynthesizer pulls words out of thin air.
It seems we'll just have to live with the bugs, and Apple isn't offering any fixes. It's the same with deleting files and to try to put them back, that bug is over 10 years old.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Nov ’25