O'Reilly logo

Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy, Second Edition by Brad Lees, Mitchell Fisher, Gary Bannett

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

Chapter 7

Objective-C Classes, Objects, and Methods

If you haven’t already read Chapter 6, please do so before reading this one, because it provides a great introduction to some of the basics of Objective-C. This chapter builds on that foundation a bit more. By the end of this chapter, you can expect to have a greater understanding of the Objective-C language and how to use the basics to write simple programs. For Mitch personally, the best way to learn is to take small programs and write (or rewrite) them in Objective-C just to see how the language works.

This chapter will cover what composes an Objective-C class and how to interact with Objective-C objects via methods. We will use a simple radio station class as an example of how an Objective-C ...

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