Chapter 3Just Enough Objective-C: Part One

Key Skills & Concepts

• Understanding Objective-C classes and objects

• Understanding an interface and an implementation

• Understanding simple messaging

• Understanding alloc and init

• Managing memory using retain and release

• Managing memory using autorelease

iOS applications use Cocoa classes, and these classes use the Objective-C programming language. So you must know Objective-C if you wish to program iOS devices. At first glance, Objective-C’s syntax might seem strange and difficult. But don’t worry—the language is easy and its strangeness will give way to an elegance I’m sure you will appreciate. In this and the next chapter you learn enough Objective-C to begin iOS programming.

CAUTIONIf coming ...

Get iOS SDK Programming A Beginners Guide 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.