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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.