Post

Replies

Boosts

Views

Activity

Reply to How to change from non-versioned to versioned schema in swiftdata?
Have you tried creating a first schema (version 1) having the model identical to your non-versioned model? Then create a second schema with the updated version of your model. I was thinking about the same stuff before publishing the app. It was approved but I rejected it thinking about what would happen if I want to migrate my SwiftData database to a new version without having an initial schema..
Nov ’24
Reply to HKObserverQuery BackgroundDelivery not executed
I am trying to use this background delivery feature on iOS17.3 for HKObjectType.workoutType() and as far as I know the frequency should be immediate for this. As a result, sometimes it is working fine, sometimes does not. When running the app on the device from xcode, it always works, but when opening it directly on the device, like any other app, it rarely works.
Feb ’24