O'Reilly logo

Learning iPad Programming: A Hands-On Guide to Building iPad Apps, Second Edition by Kirby Turner, Tom Harrington

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

15. View Controllers and Segues

In Chapter 14, “Storyboarding in Xcode,” you learned how to use a storyboard to build the initial user interface for PhotoWheel. You created the main storyboard, added two scenes to it, and used a segue to display the About scene from the main scene. All of this was accomplished without writing a single line of code—but we developers know an app cannot really be useful unless there is code.

This chapter shows you how to do more with your scenes by writing custom view controller classes, with each view controller managing a storyboard scene. You will also learn how to create and use custom segues to give your app that special somethin’-somethin’.

Implementing a View Controller

You learned early on in the book that ...

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