AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Migrate From Core Data to Core Data
Migration happens, I'd like to say automatically, but there's a lot of things that can also break migration that you have to be aware of. So in Core Data, you've moved the table or you've move the class over in the model version and you created a mapping model. You can programmatically tell it, okay, now take data from this class and put it into this class when you're migrating from this version to this version. It's a very easy thing to miss in testing, but it's like the number one way that you can screw up your users database on their phone. We saw this in the WordPress apps.