O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Preface

It’s practically impossible to know Cocoa inside and out. There was once a discussion between two programmers about Cocoa’s large APIs: one was a veteran Perl programmer, the other a Cocoa programmer. The Perl programmer grumbled about the intimidating and verbose Cocoa APIs, saying there was simply too much to remember. Bemused, the Cocoa programmer retorted: “You don’t remember Cocoa; you look it up!”

The point the Cocoa programmer was trying to impress upon the Perl programmer was that understanding object-oriented programming (OOP) concepts and the architecture of the frameworks is more important than remembering the wordy and numerous method and class names in the Cocoa frameworks.

This book is a compact reference that will hopefully grow worn beside your keyboard. Split into two parts, Cocoa in a Nutshell first provides an overview of the frameworks that focuses on both common programming tasks and how the parts of the framework interact with one another. The second part of the book is an API quick reference that frees you from having to remember method and class names so you can spend more time hacking code. This book covers the Cocoa frameworks—Foundation and Application Kit (AppKit)—as of Mac OS X 10.2 (Jaguar).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required