Xcode 4,核心数据模型版本 - 设置当前版本 [英] Xcode 4, Core Data Model Version - Set Current Version

查看:113
本文介绍了Xcode 4,核心数据模型版本 - 设置当前版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑如何在Xcode 4中执行以下函数来设置要在创建版本化模型后使用的模型。

I'm confused about how to perform the following function in Xcode 4 to set the model to use after creating a versioned model.

设计>数据模型>设置当前版本

Design > Data Model > Set Current Version

推荐答案


  1. 点击顶级.xcdatamodelId文件

  2. 确保实用程序侧挡板可见(如果未单击窗口右上角的第三个查看按钮)。

  3. 在实用程序边栏选择文件检查器(左上角的小纸图标)

  4. 您将看到Versioned Core Data Model将当前下拉菜单更改为您的新版本。

  1. Click on the top level .xcdatamodelId file (the one that has the many versions of .xcdatamodel under it as children).
  2. Make sure the Utilities sidepane is visible (if not click on the third "View" button at the top right of the window).
  3. In the Utilities sidepane select the File inspector (little paper icon on the top left)
  4. You will see "Versioned Core Data Model" as a group so just change the "Current" drop-down to your new version.

这篇关于Xcode 4,核心数据模型版本 - 设置当前版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆