Re: cocoa-dev digest, Vol 2 #2085 - 11 msgs
Re: cocoa-dev digest, Vol 2 #2085 - 11 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #2085 - 11 msgs
- From: Georg Tuparev <email@hidden>
- Date: Wed, 19 Mar 2003 17:02:53 +0100
On Tuesday, Mar 18, 2003, at 23:32 Europe/Amsterdam, John C. Randolph
wrote:
This is rather interesting. What provokes the +initialize call to be
made?
The Apple Obj-C runtime calls +initialize for every class it loads,
before sending any other messages to that class or any instances of
that class. Usually, classes you write will be derived from Object or
NSObject, and will simply inherit their +initialize method.
Hmm. My experimenting shows, and the docs claim that +load is called
before +initialize. But if you rewrite the paragraph above saying that
+initialize is the first useful general hook to override, we will be
friends again ;-)
-- georg --
"More Trees, less Bushes!"
_______________________________________________
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.