【发布时间】:2014-12-11 10:19:25
【问题描述】:
我使用 Magical Records 设置 CoreData
[MagicalRecord setupCoreDataStackWithStoreNamed:@"MyModel"];
现在在我正在做的应用程序的第 2 阶段
[MagicalRecord setupCoreDataStackWithAutoMigratingSqliteStoreNamed:@"MyModel 2"];
但是发生的情况是数据被清除了。一切从头开始:(我很麻烦请帮忙。有人吗?
【问题讨论】:
标签: ios core-data database-migration magicalrecord