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 an application called RandomPossessions. Even if you are familiar with Objective-C, you should still go through this chapter to create the BNRItem class that you will use later in this book.
Objects
Let’s say you need a way to represent a party. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access