O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

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

View Controller

When you create iOS apps, you often need to create multiple screens for each app. Each screen is managed by an instance of the UIViewController class, where other UIView objects for the various user interface elements are added. As you saw in the previous chapter, the screens can be designed using Interface Builder to add the various user interface elements needed for the app. In this situation, the View Controller is managed in three files: a .storyboard file that specifies the layout of user interface elements, a .h file that has information about any outlets and actions needed to control the user interface, and a .m file that contains the implementation of the user interface actions, as well as any setup needed for the user ...

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