O'Reilly logo

Xcode 4 Cookbook by Steven F. Daniel

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

Configuring storyboard scenes

When you want to transition from one view controller to another, you can hold down the control key and click a button, table view cell, or any other object from one view controller, and then drag it to the new view controller for a different scene. This technique of dragging between view controllers creates, what is known as a segue.

A segue is a configurable object that supports all of the same types of transitions made available to you within the UIKit class reference, such as modal transitions and navigation transitions.

Getting ready

You also have the ability to define custom transitions that replace one view controller with another.

How to do it…

In order to see how this can be achieved, we need to modify our TwitterExample ...

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