2 Objective-C

iOS applications are written in the Objective-C language using the Cocoa Touch frameworks. Objective-C is an extension of the C language, and the Cocoa Touch frameworks are collections of Objective-C classes.

In this chapter, you will learn the basics of Objective-C and create an application called RandomItems. 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 the book.

This book assumes you know some C and understand the basic ideas of object-oriented programming. If C or object-oriented programming makes you uneasy, we recommend starting with Objective-C Programming: The Big Nerd Ranch Guide.

Objects

Let’s say you ...

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