Chapter 8

A Quick Tour of the Foundation Kit

You’ve already seen that Objective-C is a pretty nifty language, and we haven’t even finished exploring all the features it has to offer. For now, we’re going to take a quick side trip and have a look at Cocoa’s Foundation framework. Although strictly part of Cocoa and not built in to Objective-C, the Foundation framework is so important that we thought it worth exploring in this book.

As you saw in Chapter 2, Cocoa is actually composed of many different frameworks. Of these, the ones most used for desktop (OS X) applications are Foundation and Application Kit. The Application Kit has all the user interface objects and high-level classes. You’ll get a taste of the AppKit (as the cool kids call it) ...

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.