Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mysterious +initialize method in UIApplicationDelegate protocol: Why can't I see it in the documentation?

In the BubbleLevel example from apple they implement an +initialize method. They say:

+initialize is invoked before the class receives any other messages, so it is a good place to set up application defaults

But when I try to look it up in the UIApplicationDelegate protocol documentation, they don't even mention that +initialize method. Are there more "hidden" methods I should know about? And how can I find them when they don't appear in the documentation of the protocol or class? Os is that inherited from somewhere else? How can I find out from where?

like image 520
Thanks Avatar asked Jan 23 '23 15:01

Thanks


1 Answers

  • (void)initialize is the NSObject's method

You can find it in documentation

http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html#//apple_ref/doc/uid/20000050-initialize

like image 136
oxigen Avatar answered Jan 31 '23 05:01

oxigen