Transitioning from XIB files to Storyboard

馋奶兔 提交于 2019-12-06 18:21:27

问题


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?


回答1:


You can do this manually one view controller at a time.

  1. Copy the view from xib (⌘ c).

  1. Go to storyboard and create a new view controller in it. Then select the view of that view controller and hit paste (⌘ v).



来源:https://stackoverflow.com/questions/7798400/transitioning-from-xib-files-to-storyboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!