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 ...
Get Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy, Second Edition 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.