Empower Apps cover image

Local Database Storage on iOS with Aaron Douglas

Empower Apps

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner