The init method is NOT called on the second snippet of code, but is called on the first snippet. I don't understand.
Code:
@implementation testAERAppDelegate
@synthesize window;
-(id)init {
[super init];
NSLog(@"init"); ...
return self;
}
Code:
@implementation RootViewController
@synthesize pickerView,dateFormatter;
-(id)initWithCoder {
[super init];
NSLog(@"init");
return self;
}