Section 1. Objective-C and the Cocoa Frameworks

This is a book about writing software for Mac OS X using the Cocoa frameworks. As far as the typical Cocoa developer can tell from looking at the Cocoa headers, the Cocoa frameworks are written entirely in the Objective-C programming language. Likewise, the application that forms the heart of this book is written almost exclusively in Objective-C.

Although Objective-C was inspired by the object-oriented concepts of the Smalltalk language, Objective-C is in fact the C language with a very small amount of object-oriented syntax grafted onto it. Objective-C is a strict superset of C, which means that the Objective-C compiler can compile all proper C programs. You will see as you progress through this ...

Get Cocoa Recipes for Mac OS X: The Vermont Recipes, 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.