• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How dangerous is +load?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

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

  • Prev by Date: accessing filename from save in )dataRepresentationOfType:
  • Next by Date: Re: NSLinkAttributeName not kept when saved to RTFD?
  • Previous by thread: Re: How dangerous is +load?
  • Next by thread: Re: How dangerous is +load?
  • Index(es):
    • Date
    • Thread