Chapter    2

Objective-C in a Nutshell

Objective-C is the primary language you’ll be using to create iOS apps using Cocoa Touch. This chapter will walk you through the basics of the language, covering new developments in its evolution as well as tried-and-true methods that are decades old. In this book, I’m assuming that you have at least a basic understanding of the C programming language. If you’re coming from a Java or C++ background, you can probably get by just fine, but if you’re new to C-like languages altogether, I recommend familiarizing yourself with it. Some excellent books on the subject are The C Programming Language by Brian Kernighan and the late Dennis Ritchie, who originally designed the language; Programming in C by Stephen ...

Get Learn Cocoa Touch for iOS 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.