Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Segue from one storyboard to a different storyboard?

I have too many views on one storyboard which is causing it to run really slow. I have been told that a solution to this issue would be to split the one storyboard into multiple storyboards. Could anyone tell me how I can segue from a view on storyboard 1 to a view in storyboard 2 via a button?

like image 352
BrownEye Avatar asked Sep 13 '13 03:09

BrownEye


People also ask

Can we use multiple storyboards in one application?

A Completely Interface Builder Approach They allow you to break a storyboard up into multiple, smaller storyboards. A storyboard reference ties multiple storyboards together, creating one, large, composite storyboard. I was extremely amazed at how simple their use is.

How do you create a segue in a storyboard?

To create a segue between view controllers in the same storyboard file, Control-click an appropriate element in the first view controller and drag to the target view controller. The starting point of a segue must be a view or object with a defined action, such as a control, bar button item, or gesture recognizer.


1 Answers

With Xcode 7 you can pick Storyboard References

enter image description here

and set the destination storyboard and controller

enter image description here

like image 159
Arnaud Avatar answered Sep 25 '22 21:09

Arnaud