Chapter 7UIView and UIViewController

Key Skills & Concepts

• Understanding the UIView and UIViewController

• Creating a single view application using the View-based Application template

• Creating a single view application using the Window-based Application template

• Understanding an application delegate’s root view

• Setting an application’s root view in Interface Builder

• Setting an application’s root view using code

• Understanding UIView life cycle methods

UIViews are how the iOS displays information on the screen. The UIView class is responsible for displaying a rectangular area on the screen. The UIViewController manages the UIView and is responsible for handling the view’s logic. The UIViewController is the glue between the view—the ...

Get iOS SDK Programming A Beginners Guide now with O’Reilly online learning.

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