1. Objective-C and Cocoa

Objective-C is the language most commonly used for iOS development. It is a superset of ANSI-C, with a Smalltalk-style syntax. If you have programmed in any modern language (such as C++, Java, or even PHP), you should be able to pick up Objective-C relatively quickly.

Cocoa is the collective name given to the frameworks provided by Apple for both OS X and iOS development. For the purpose of this book, Cocoa will be used to mean the iOS-specific APIs.

In this chapter, you will get a brief overview of how Objective-C code is structured and how you build your own classes. You’ll then learn how memory is managed before ...

Get iPhone Application Development for iOS 4: Visual QuickStart 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.