Re: How dangerous is +load?
Re: How dangerous is +load?
- Subject: Re: How dangerous is +load?
- From: "Clark S. Cox III" <email@hidden>
- Date: Wed, 30 Apr 2003 15:22:23 -0400
On Wednesday, Apr 30, 2003, at 15:01 US/Eastern, Hasan Diwan wrote:
+ (void)initialize {
[super initialize]; // may not be needed
[[NSNotificationCenter defaultCenter] addObserver: self
selector:@selector(configureTestingUI:)
name:NSApplicationDidFinishLaunchingNotification object:nil];
}
The problem with this approach is that you must be sure that some
class method is called on this class before the
NSApplicationDidFinishLaunchingNotification notification is posted.
--
http://homepage.mac.com/clarkcox3/
email@hidden
Clark S. Cox, III
_______________________________________________
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.