Chapter 8. Creating Custom UIViews and UIViewControllers
Subclassing, the inheritance of attributes, is an important part of iOS development. By this point, you should be familiar with the characteristics of a UIView that determines what the user sees, and know how the various subclasses of UIView relate to one another. You should understand the role that UIViewControllers play, and how they interact with the view life cycle.
Creating custom UIViews and UIViewControllers is a key component of designing your own iOS app. In fact, by following along with the examples in this book, you will have already created your own custom UIViewControllers—you just may not realize it.
We know that a UIViewController is used to manage an associated view and ...