Chapter 14

Introductionto the AppKit

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.

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

Get Learn Objective-C on the Mac 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.