You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a note on migratePersistentStore vs replacePersistentStore from Core Data WWDC 2020 FAQ
Additionally you should almost never use NSPersistentStoreCoordinator's migratePersistentStore... method but instead use the newer replacePersistentStoreAtURL.. (you can replace emptiness to make a copy). The former loads the store into memory so you can do fairly radical things like write it out as a different store type. It pre-dates iOS. The latter will perform an APFS clone where possible.
To let app and extension to talk to the same database, we need to use
AppGroup
. Here is how to use replacePersistentStoreThere is a note on
migratePersistentStore
vsreplacePersistentStore
from Core Data WWDC 2020 FAQRead more
The text was updated successfully, but these errors were encountered: