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 ...

Get Learning iPad Programming: A Hands-On Guide to Building iPad Apps, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.