I have a Cocoa application which works fine except it will not invoke applicationDidFinishLauching on my app delegate. applicationWillFinishLauching does work though.
In IB I have set the delegate from "Application" (and also File's owner) to my "XXX App Delegate" object. All other application specific methods are called correctly weirdly enough.
What could I be doing wrong; I have no idea where to search anymore
My code:
@interface NZBVortexAppDelegate : NSObject
{
NSWindow *window;
NZBqueue *connectionPool;
MainWindowViewController *mainWindowViewController;
}
@property (assign) IBOutlet NSWindow *window;
@end
.m file
@implementation NZBVortexAppDelegate
@synthesize window;
-(void)applicationDidFinishLaunching:(NSNotification *)aNotification {
NSLog(@"Not invoked");
}
- (void)applicationWillFinishLaunching:(NSNotification *)aNotification {
NSLog(@"Invoked");
}
@end
Can you give me some pointers? I even stepped from WillFinishLauching (step in and over) but do not seem to hit any of my code anymore, can't debug more from within the frameworks.