Re: what does metaclass mean?
Re: what does metaclass mean?
- Subject: Re: what does metaclass mean?
- From: Thomas Finley <email@hidden>
- Date: Tue, 1 Jul 2003 15:25:11 -0400
On Tuesday, July 1, 2003, at 12:23 PM, Ben Dougall wrote:
about the objective-c pdf. bit confused on what the isa pointer points
to when it's in a class structure. more specifically i don't know what
metaclass means.
A class's class is a metaclass. When you send a message to an object,
it looks in its isa (its class definition) to find the method it should
use. When you send a message to a class, it ALSO looks in the class's
isa (its class, also called a metaclass) to find the method it should
use.
Here's what I remember to help me out: A class of an object is a
class, a class of a class is a metaclass, and the class of a metaclass
is also a metaclass. (She sells sea shells. :) )
With this stuff in mind, your quote from the definition should make
more sense.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.