All you need to know to start using CoreData in 2022

You actually do not need to create a new version of the model every time. Do lightweight migration when you can!

NSPersistentStoreContainer has the keys set up for you! Just use it!

If you are using a coordinator. Yes. Set the keys to true.

Turn on DEBUG when you want to know more about what Core Data is doing under the hood!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store