Re: More memory allocation questions
Re: More memory allocation questions
- Subject: Re: More memory allocation questions
- From: David Martin <email@hidden>
- Date: Tue, 30 Jul 2002 15:25:40 +0200
On Tuesday, July 30, 2002, at 02:44 , Ondra Cada wrote:
Otherwise, I believe it is very nicely documented: a method
automatically (by the runtime) sent to a class just before the class
gets its first message. In plain ObjC it's a very good place for
initialization; in OpenStep/Cocoa with its plethora of awakeFromNibs
and applicationDidFinishLaunchings and so forth it's more or less
unused today.
In his book (Cocoa Programming for Mac OS X), Aaron Hillegass uses it to
initialize factory defaults -[NSUserDefaults registerDefaults:] or for
class versioning (-[NSObject setVersion:]).
Bye,
David
_______________________________________________
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.