6. Classes and Objects

Objects are the basis for object-oriented programming. This chapter gets down to the business of making objects. The chapter is divided into five main sections:

Image Defining classes

Image Extending classes by subclassing

Image Creating objects (instances of a class)

Image Destroying objects

Copying objects

Some of these topics were covered briefly ...

Get Learning Objective-C 2.0: A Hands-On Guide to Objective-C for Mac and iOS Developers 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.