2. An Objective-C Primer

Objective-C is a very small set of additions to C. The first version of Smalltalk was created as a bet that it was possible to specify an entire general-purpose language on a single piece of paper. The Objective-C extensions to C are slightly more complicated than Smalltalk, but not by much.

If you already know C, then learning the Objective-C language will take an afternoon—less if you already understand Smalltalk-style object orientation. That’s slightly misleading, of course. If learning Objective-C was really that simple, you’d feel a bit ripped off buying a book about it. Like Smalltalk, much of the reason that the Objective-C language is so simple is that it delegates a lot to the library.

The standard library for ...

Get Objective-C Phrase Book, 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.