O'Reilly logo

iPhone Application Development for iOS 4: Visual QuickStart Guide by Duncan Campbell

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

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 ...

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