interface-builder - xcode 5 : How to convert a storyboard to make advantage of the xcode 5 advantages? 为什么?

标签 interface-builder storyboard xcode5

我刚刚在安装 xcode 5 后第一次打开了一个 Storyboard。(通常我会打开一个带有 Storyboard的选项卡。显然 xcode 对此有所不同。现在我打开了它。) 然后我被问到是否要转换 Storyboard以便它可以利用 xcode 5 中的新功能。我按下了“稍后”或“否”,但下一秒我就后悔了。

这里有两个问题:相对于 Storyboard/IB,这些优势是什么? 之后如何执行此自动转换?

最佳答案

我自己也遇到了同样的问题,偶然发现了这个问题来寻找答案。终于设法找到了解决方案(documentation 中有一个模糊的提示):

  1. 在 Interface Builder 中打开 Storyboard文件
  2. 转到文件检查器(右侧栏最左侧的图标)
  3. Interface Builder Document 下,下拉 Opens In 并选择“Default (5.0)”

片刻之后,它将加载 iOS-7 版本的 Storyboard。

关于interface-builder - xcode 5 : How to convert a storyboard to make advantage of the xcode 5 advantages? 为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19264657/

相关文章:

ios - 选项卡栏 Controller 问题内的 UI 导航 Controller

xcode - Objective-C,从 .nib 过渡到 .storyboard

ios - 如何去除 XCode 5/iOS 7 中的图标眩光?

objective-c - 具有自动布局约束的 NSButton 文本插入

ios - UIView 1px 高度在 UITableViewCell 中总是缩放错误

ios - UILabel 中的换行符在构建时被忽略

ios - 点击时 UIButton 未获取事件

wpf - 使用 StaticResource 作为 VisualTransition 的 Storyboard 时出错

iphone - 状态栏未按预期在 iPad 上呈现

xcode - 如何将 Xcode 5.0.1 项目降级到 Xcode 4.6.3