Storyboard操作的2个小技巧
之前我在操作 Storyboard 时想把一个已经有的UIViewController变成 UINavigationController 或者 UITabBarController,在搭建项目时想把不同的模块分为不同的 Storyboard 时,需要许多步骤,而且在 Storyboard 分模块时还需要代码才可以完成,感觉好麻烦(可能是经验不足)
1、Storyboard 之 vc->nav->tvc
![](http://upload-images.jianshu.io/upload_images/2026898-1e573cf7b610c2f4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
![](http://upload-images.jianshu.io/upload_images/2026898-a79f02b61048b747.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
2、项目开发之分模块管理各自的 Storyboard
![](http://upload-images.jianshu.io/upload_images/2026898-d9095f25a0c39f8a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
![](http://upload-images.jianshu.io/upload_images/2026898-bed057b88d4bf22a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
![](http://upload-images.jianshu.io/upload_images/2026898-4a8c51ce3dc90aed.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
https://liangdahong.com/