core-data-migration
Core Data versioning and migrating with custom policy
I\'ve found documentation very limited and my problem solution nowhere. I need to add new entity (with relationship to existing one). Also add and rename some of attributes of existing entity.[详细]
2023-03-27 03:26 分类:问答Core data versioning and migration
I have the older version of the core data model of the released app. Now, in the next version of the app, I am migrating the core data model to new model. Is there a way to get the attribute values fr[详细]
2023-03-27 00:08 分类:问答Custom code execution after light weight migration of particular version
I have 2 object models in Core Data (say v1 and v2). This migration is eligible for light weight migration. Now, I want to execute custom code after the migration but only when the migration is from v[详细]
2023-03-16 02:26 分类:问答Custom Policy in my xcmappingmodel will not be executed
I\'m trying to create a mapping model for my app that has some custom code. Thus I created a xcmappingmodel and I subclassed NSEntityMigrationPolicy and implemented the[详细]
2023-03-14 13:11 分类:问答core data, NSManagedObject changed between app versions
I have an app at the App-Store right now that uses Core-Data with persistent store to save the data as SQL-Lite-store-type, locally on the device.[详细]
2023-03-11 17:40 分类:问答How to Test Core Data Migration With an App Already in the App Store?
We have an app that is currently in the app store. It uses Core Data as its persistence mechanism. We have a new version ready to go, and it has some schema changes. Specifically, we have added 1 new[详细]
2023-03-09 20:47 分类:问答Must I enable versioning in my first release in order to use lightweight migration in subsequent releases?
My fear is the change of the data model in subsequent releases. I created a new xcdatamodel file in Xcode which is not v开发者_如何学JAVAersioned by default. I know you can click somewhere and make i[详细]
2023-03-06 22:36 分类:问答Adding data after lightweight migration process
I am not sure if it can be done by using lightweight migration. My problem is relatively simple, but I could not find a sol开发者_如何转开发ution anywhere on the net.[详细]
2023-03-06 05:51 分类:问答Example or explanation of Core Data Migration with multiple passes?
My iPhone app needs to migrate its core data store, and some of the databases are quite large. Apple\'s documentation suggests using \"multiple passes\" to migrate data to reduce memory use. However,[详细]
2023-03-05 13:15 分类:问答Core data model update crashing because of low memory on iPhone
My iPhone app update has a new version 开发者_如何学JAVAof my core data store model. I am using a custom NSEntityMigrationPolicy. However with large core data stores on older iDevices (i.e. with less[详细]
2023-03-01 18:16 分类:问答