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?
A storyboard is meant to explain a story, not a saga. An app's storyboard can be easily divided into multiple storyboards, with each one representing an individual story.
In storyboards, you add views by dragging them onto the view controller scene. For example, the following figure shows a view controller with an image view and button on an iPhone.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With