Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android
by Jakob Iversen, Michael Eierman
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access