O'Reilly logo

iOS 9 SDK Development by Janie Clayton, Chris Adamson

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

Building Views with UIKit

The UIKit framework provides the building blocks of touch-based applications for iOS. That means it’s responsible both for the concept of what an app is and how it interacts with the rest of the system, as well as for providing a suite of user interface views. Every user interface control we add to the app comes from UIKit, as well as the systems for sending user interface events to our code, how we draw things, fonts, colors, gestures, and so forth.

UIKit’s UIApplication class is the point of contact between our code and the rest of the system. By accessing its sharedApplication method, we can open other apps by URL, receive remote events from Apple’s Push Notification service, and set a number for our app icon’s ...

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