O'Reilly logo

Objective-C Programming: The Big Nerd Ranch Guide by Mikey Ward, Aaron Hillegass

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13 Objects

In this chapter, you will write your first Objective-C program. This program will be a command-line tool like the ones you have written so far, but it will be written in Objective-C.

In the early 1980’s, Brad Cox and Tom Love created the Objective-C language. For objects, they built upon the idea of structs allocated on the heap and added a message-sending syntax.

As you move from C programming to Objective-C programming, you are entering the world of objects and object-oriented programming. Be prepared to encounter new concepts and to be patient. You will be using these patterns again and again, and they will become clear with time and practice.

Objects

An object is similar to a struct (such as the

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required