Figures, Tables, and Listings
Chapter 1
Objects, Classes, and Messaging
Figure 1-1
Some drawing program classes
Figure 1-2
Rectangle instance variables
Figure 1-3
The inheritance hierarchy for NSCell
Listing 1-1
Accessing properties using dot syntax
Listing 1-2
Accessing properties using bracket syntax
Listing 1-3
Implementation of the initialize method
Chapter 2
Defining a Class
Figure 2-1
The scope of instance variables (@package scope not shown)
Figure 2-2
The hierarchy of High, Mid, and Low
Table
Chapter 3
Allocating and Initializing Objects
Figure 3-1
Incorporating an inherited initialization method
Figure 3-2
Covering an inherited initialization method
Figure 3-3
Covering the designated initializer
Figure 3-4
The initialization chain
Chapter 5
Declared Properties
Listing 5-1
Declaring a simple property
Listing 5-2
Using @synthesize
Listing 5-3
Using @dynamic with NSManagedObject
Listing 5-4
Declaring properties for a class
Chapter 7
Associative References
Listing 7-1
Establishing an association between an array and a string
Chapter 11
Exception Handling
Listing 11-1
An exception handler
Chapter 12
Threading
Listing 12-1
Locking a method using self
Listing 12-2
Locking a method using a custom semaphore