Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How dangerous is +load?



As I wrote in my original email, +initialize is NOT called if no other method of the class is is called.... so your suggestion does not work. BTW, this is documented behavior.


On Wednesday, Apr 30, 2003, at 21:01 Europe/Amsterdam, Hasan Diwan wrote:

+ (void)initialize {
[super initialize]; // may not be needed
[[NSNotificationCenter defaultCenter] addObserver: self selector:@selector(configureTestingUI:) name:NSApplicationDidFinishLaunchingNotification object:nil];
}

Georg Tuparev
Tuparev Technologies
Klipper 13
1186 VR Amstelveen
The Netherlands
Mobile: +31-6-55798196
_______________________________________________
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.

References: 
 >Re: How dangerous is +load? (From: Hasan Diwan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.