Open imzyf opened 6 years ago
http://lvesli.com/2016/05/24/iOS9-Storyboard%E6%96%B0%E7%89%B9%E6%80%A7%E4%B9%8BStoryboard-References/
打开Main.stroyboard选中HomeController对应的三个controller如下图,然后点击菜单栏【Editor】选项中的【Refactor to storyboard…】按钮
保存后,你会发现目录中多了一个Home.storybaord。打开原来的Main.storyboard你会发现原理的Homecontroller变成了一个storyboard references。选中这个storyboard references 在右侧Attributes Inspector中显示如下图:
http://lvesli.com/2016/05/24/iOS9-Storyboard%E6%96%B0%E7%89%B9%E6%80%A7%E4%B9%8BStoryboard-References/
打开Main.stroyboard选中HomeController对应的三个controller如下图,然后点击菜单栏【Editor】选项中的【Refactor to storyboard…】按钮
保存后,你会发现目录中多了一个Home.storybaord。打开原来的Main.storyboard你会发现原理的Homecontroller变成了一个storyboard references。选中这个storyboard references 在右侧Attributes Inspector中显示如下图: