Re: Class Methods & Class Objects?
Re: Class Methods & Class Objects?
- Subject: Re: Class Methods & Class Objects?
- From: Brian Howard <email@hidden>
- Date: Mon, 20 Aug 2001 20:58:59 -0400
On Monday, August 20, 2001, at 08:18 PM, James Bredijk wrote:
Hi,
As a Cocoa newbie, I'm a little confused with "class methods" &
"class objects". Could someone explain what these things do as apposed
to instance methods & instance objects??
Let's test my education so far: "class methods" are sent directly to the
class in question, while instance methods are sent to instance objects.
Class objects are more or less nothing other than "factories" designed
to "stamp out" instances--the objects that do the actual work. There is
bound to be more to it than that; wiser heads will fill us in, no doubt.
Brian E. Howard
Cocoa Cult Central
going out on a limb