Chapter     2

Using Classes

Classes are the building block for object-oriented programming (OOP). In fact, programs created using OOP consist primarily of a network of interacting class instances (i.e., objects). The Objective-C language provides full support for OOP, including language features that enable design-time specification of classes and the runtime creation of class instances, along with multiple mechanisms to support object interaction.

This chapter focuses on Objective-C’s key elements and unique features for developing classes. It covers key areas such as Objective-C class structure, class design and implementation, and some additional language features that support class development and OOP. The chapter also includes plenty of ...

Get Pro Objective-C now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.