O'Reilly logo

Xcode 7 Essentials - Second Edition by Jayant Varma, Brett Ohland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Storyboard references

An app with many screens can have a cluttered and complicated Storyboard. Since their introduction in Xcode 4, developers have been able to break up their UIs into multiple storyboards and then load and unload them as needed. This, unfortunately, meant that it was impossible to get an entire view of your app's screens as you were mixing visual segues with transitions in code.

Xcode 7 allows you to officially support multiple Storyboards by offering a new feature called Storyboard References.

A Storyboard reference is simply a new type of object in your Interface Builder Object Library. When it is placed on the canvas, you're able to segue to it just like any other view object.

To demonstrate this, let's create simple interface, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required