【问题标题】:CoreData: Light-weight migration from xcdatamodel version n to n+5CoreData:从 xcdatamodel 版本 n 到 n+5 的轻量级迁移
【发布时间】:2013-01-08 12:14:34
【问题描述】:

假设用户在他们的 iPhone 上安装了 MyApp2.xcdatamodel,并且他们有一段时间没有升级他们的应用程序。现在应用程序的当前版本使用 MyApp7.xcdatamodel。轻量级迁移机制能否将数据平滑迁移到当前模型?

我的假设是肯定的,只要 MyApp3.xcdatamodel、MyApp4.xcdatamodel、MyApp5.xcdatamodel 和 MyApp6.xcdatamodel 可用。

谁能证实这个假设?

提前致谢,

乔斯。

【问题讨论】:

    标签: iphone ios core-data core-data-migration


    【解决方案1】:

    你的假设是正确的。只要您的项目中有所有模型,这将起作用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-04-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-20
      • 1970-01-01
      相关资源
      最近更新 更多