How to swap out a store file in Core Data
You can switch out the NSPersistentStore file in your running Core Data app by first adding your new store file, then removing the previous one. Once done you must execute your fetch request again so that the new data is available. Hot-swapping stores assumes both NSPersistentStore files are based on the same model. It’s like […]