2Objective-C

iOS applications are written in the Objective-C language using the Cocoa Touch library. Objective-C is a simple extension of the C language and Cocoa Touch is a collection of Objective-C classes. This book assumes you know some C and understand the ideas of object-oriented programming. If C or object-oriented programming makes you feel uneasy, we recommend starting with Objective-C Programming: The Big Nerd Ranch Guide.

In this chapter, you will learn the basics of Objective-C and create a command line tool called RandomPossessions. You’ll reuse parts of this tool in an iOS application starting in Chapter 10, so even if you’re familiar with Objective-C, you should still go through this chapter in order to create RandomPossessions ...

Get iOS Programming: The Big Nerd Ranch Guide, 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.