Class Methods

In Smalltalk and Objective-C certain methods can be marked as class methods (in Smalltalk) or as factory methods (in Objective-C). This designation indicates that the behavior is not part of the protocol for class instances, but is instead part of the task of object creation. When a new object is created using the given function, it will automatically be initialized using the specified factory method.

[audio] [real] Text to accompany slide11, in Chapter 4 of An Introduction to Object-Oriented Programming