O'Reilly logo

iOS 8 SDK Development, 2nd Edition by Janie Clayton, Chris Adamson

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

Navigating Between View Controllers

Now that we have our root view controller managed by a navigation controller, we’re ready to start navigating. Where shall we go? Since our root view shows a table of tweets, let’s allow the user to select one of those tweets to inspect in detail. To do this, we’ll add a new view controller scene to the storyboard, indicate how we navigate to it, and write a custom UIViewController subclass to provide the behavior for the new scene.

images/src/Navigation/view-controller-icon.png

We can begin in the storyboard. From the Object library, choose the generic View Controller icon, which looks like the rectangular UIView icon inside a yellow circle, as seen in ...

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