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 ...
Get iOS 9 SDK Development 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.