【问题标题】:Core Data migrations with Magical Record使用 Magical Record 迁移核心数据
【发布时间】:2012-09-20 00:52:17
【问题描述】:

我使用 Core Data 和 MagicalRecord 作为应用程序的数据库。

向数据库添加新模型时,如何在不卸载应用程序的情况下迁移数据库?

【问题讨论】:

  • 您的意思是在更新模型后如何迁移商店?
  • 是的。我怎么能做到这一点?谢谢。

标签: ios ios5 core-data-migration magicalrecord


【解决方案1】:

看看这个How to migrate core data by deleting old one on App Update
既然你已经完成了Magical Record的预配置,其他的一切都将被照顾,干杯!

【讨论】:

    【解决方案2】:
    猜你喜欢
    • 2013-04-24
    • 1970-01-01
    • 2012-07-20
    • 2023-03-27
    • 2011-09-14
    • 1970-01-01
    • 1970-01-01
    • 2013-04-21
    • 2021-08-11
    相关资源
    最近更新 更多