2. Objective-C
iPhone applications are written in the Objective-C language, a simple extension of the C language. This book doesn’t have enough pages to cover the entire C language. Instead, this book will assume you know some C and understand the ideas of object-oriented programming. If C or object-oriented programming makes you feel uneasy, Kochan’s Programming in Objective-C is a worthwhile read.
In this chapter, you will learn the basics of Objective-C and create RandomPossessions, a command-line tool that you will reuse in an iPhone application later in the book. (So even if you’re familiar with Objective-C, you’ll still want to go through this chapter in order to create RandomPossessions.)
Objects
Let’s say you need a way to represent ...
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