I simply want to know how to segue to a new view controller in a new storyboard without having to create the new view controller programmatically.
The Scenario: I have one view controller that's created entirely in code and the system thinks I'm in Storyboard A. I want to segue from this view controller to another view controller that's contained on Storyboard B.
- I could create a segue attached to a storyboard reference (which is a great suggestion) if this view controller was created with Storyboard. But it's in code, so I can't do this.
- My other option is to make the next view controller be totally created in code so that I can present it without using segues. That's a pain, but will work.
- My third option is to initialize the new storyboard in code, initialize the new view controller in code using a storyboard identifier, and then use the navigation controller to segue to it.
If there are other options I'm not aware of please include them below!