Chapter 16

Introduction to the Application Kit

So far in this book, all our programs have used the Foundation Kit and have communicated with us through the time-honored method of sending text output to the console. That’s fine for getting your feet wet, but the real fun begins when you see a Mac-like interface that includes things you can click and play with. We’ll take a detour in this chapter to show you some highlights of the Application Kit (or AppKit), Cocoa’s user-interface treasure trove for OS X.

The program we’ll construct in this chapter is called CaseTool, and you can find it in the 16.01 CaseTool project folder. CaseTool puts up a window that looks like the screenshot shown in Figure 16-1. The window has a text field, a label, and ...

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.