Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 8: A Quick Tour of the Foundation Kit

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 two different frameworks: 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) in Chapter 14.

Cocoa's Foundation framework has a bunch of useful low-level, data-oriented classes and types. We'll be visiting a number of these, such as NSString, NSArray, NSEnumerator, and NSNumber. Foundation has more than a hundred classes, all of which you can explore by looking at the documentation installed with Xcode. These documents live at /Developer/ADCReferenceLibrary/documentation/index.html.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial