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

Views and Controllers

The user interface classes in iOS are contained in the UIKit framework. The UIKit framework contains a large number of classes that you can take advantage of in your apps. The classes are arranged in an inheritance hierarchy with the top class being UIView. This class describes a basic rectangle with width, height, background color, and so on. This class can contain subviews and may also have a parent view. One of the subclasses of UIView is UIWindow, which has been restricted to set its origin to the top left of the screen. Each iOS app has one UIWindow object that is created when the app launches. All other screens are subviews of UIWindow. Other subclasses of UIView include UILabel, UIScrollView, UINavigationBar, UITableCell ...

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