2013-01-08 68 views
2

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

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

任何人都可以证实这个假设吗?

在此先感谢,

Joss。

回答

2

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