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 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.