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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With