Re: NSApp delegate without a nib
Re: NSApp delegate without a nib
- Subject: Re: NSApp delegate without a nib
- From: Jeff Johnson <email@hidden>
- Date: Thu, 17 Jul 2008 11:50:17 -0500
On Jul 17, 2008, at 11:28 AM, Francisco Tolmasky wrote:
I've looked around the docs quite a bit and haven't been able to
find an answer to this. Basically, I'd like to know if it is at
all possible to set the application delegate without a nib, and
without subclassing NSApplication or mucking around inside of main
(). Is there something similar to NSPrincipalClass in the
Info.plist like NSApplicationDelegate or something?
No.
You can call -[NSApplication setDelegate:] pretty much anytime,
anywhere in your code, but if you want
applicationWillFinishLaunching: to be called, for example, you're out
of luck.
-Jeff
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden