Reputation: 42602
I am developing an iOS app with Xcode 8 and Swift 3.
I have a Tab Bar Controller with one tab view embedded into a Navigation Controller, as you see below:
As the project continues, the storyboard is getting bigger. I really don't like it. So, I would like to divide it into multiple storyboards.
My question is:
How to divide a Tab Bar Controller & the associated tab's view controllers into multiple storyboards? What is the best practice to do it? And how to do it?
Upvotes: 16
Views: 5383
Reputation: 58049
If your target is iOS 9 and above, you should create storyboard references for the view controllers you want to include in another storyboard. Here's how it works:
Upvotes: 31