Chapter 15

Introduction to UIKit

So far, we have had a lot of fun learning about writing apps for OS X, the Mac operating system. But enough of that Mac stuff for a while. It’s time to switch gears and take a look at how to write an app for iOS. Just as Mac apps use AppKit, iOS apps use UIKit. It has all the UI components and goodness that make iOS apps what they are.

iOS doesn’t have command-line access, so we can’t create a command-line tool as we did for OS X. Instead, we’ll start by duplicating the CaseTool program we wrote for OS X in Chapter 14. You don’t even need an iOS device to do this exercise. All you need is Xcode with the iOS SDK, which installs by default when you get Xcode from the Mac App Store.

Keep in mind a few ways that ...

Get Learn Objective-C on the Mac: For OS X and iOS, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.