NSApplicationMain() doesn't set NSApp to my subclass
NSApplicationMain() doesn't set NSApp to my subclass
- Subject: NSApplicationMain() doesn't set NSApp to my subclass
- From: "Christopher Hickman" <email@hidden>
- Date: Wed, 17 Aug 2005 16:03:11 -0400
I have an app with a subclass of NSApplication, called SWLApplication. I've
set the custom class of File's Owner in MainMenu.nib to my subclass and I've
changed my principal class to SWLApplication in my application's target in
Xcode, but when I run my app NSApplicationMain() doesn't initialize the
NSApp global with an instance of my subclass. Instead, NSApp is an
NSApplication instance.
Am I missing a step somewhere?
Any hints are appreciated.
Thanks,
Topher
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden