从XIB文件转换到Storyboard [英] Transitioning from XIB files to Storyboard
本文介绍了从XIB文件转换到Storyboard的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我目前有一个使用XIB的XCode项目,并希望开始使用Storyboard。有没有一种方法可以将我的XIB文件移动到故事板?
I currently have an XCode project that uses XIBs and would like to start using Storyboards. Is there a good way to move my XIB files into the Storyboard?
推荐答案
您可以一次手动执行一个视图控制器。
You can do this manually one view controller at a time.
- 从xib复制视图(⌘c)。
- 转到故事板并创建一个新的视图控制器。然后选择该视图控制器的视图并点击粘贴(⌘v)。
这篇关于从XIB文件转换到Storyboard的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文