Storyboard References 关于这个东西,只从storyboard出来之后就一直,团队分工合作冲突的问题。之前的项目也是分模块然后进行xib 的分块,导致代码,页面太多。如今iOS9中终于出了一个Storyboard References进行storyboard 之间的连接,完美解决开发人员前面的需求问题。
使用
1.创建项目,系统默认创建Main.storyboard文件。找到添加控件的面板,然后找到Storyboard References,拖到main 中就可以了。

2.新建storyboard文件,命名为Next(自行定义)。打开次面板,拖上viewcontroller。创建NextView.swift 文件 。

3.跳转的方式直接拖动分为push(必须是navigationcontroller) modal custom 三种模式。
4.结束。
网友评论