Post

Replies

Boosts

Views

Activity

Reply to SwiftData with CloudKit failing to migrate schema
This didn't quite work for me despite fixing the crash, willMigrate is called and then didMigrate crashes before reaching even a print statement. I flipped the advice, and it seems to be working for me now. I create a container without CloudKit, and then once that works, if I need CloudKit then I create a new ModelContainer with the CloudKit configuration and return that. This way the migrations seem to always be applied. If anyone can come up with a better solution or any issues please let me know, it seems ok so far though.
Sep ’24
Reply to Multiple Y axis in single chart?
This will give you multiple set of basic axis that you can then customise, to show different scales for your sets of data. You may need to scale your data yourself so that the scales make sense etc! Chart{ ... } .chartXAxis {     AxisMarks(position: .top)     AxisMarks(position: .bottom) } .chartYAxis {     AxisMarks(position: .leading)     AxisMarks(position: .trailing) }
Jul ’22
Reply to Regarding account deletion feature in our app
If you can create an account in the app, you need to be able to delete an account from the app too. "Starting June 30, 2022, apps submitted to the App Store that support account creation must also let users initiate deletion of their account within the app." - from Offering account deletion in your app. The App Store Review Guidelines also state this is required in section 5.1.1(v), under Privacy > Data Collection and Storage > Account Sign-In. "If your app supports account creation, you must also offer account deletion within the app."
Jul ’22