Re: IB3 Application vs File Owner
Re: IB3 Application vs File Owner
- Subject: Re: IB3 Application vs File Owner
- From: "Kyle Sluder" <email@hidden>
- Date: Sat, 8 Mar 2008 22:22:17 -0500
On Sat, Mar 8, 2008 at 8:57 PM, Quincey Morris
<email@hidden> wrote:
> I wonder if there's any legal scenario for an application to create
> two NSApplication (or subclass) objects, in particular to create two
> in such a way that the non-main one needed to load its own nib file.
No, because NSApplication is a singleton. But that doesn't mean that
NSApp has to be the one that loads MainMenu.nib. Sure, it's
convoluted and might not work, but that doesn't mean it's impossible
under the runtime.
--Kyle Sluder
_______________________________________________
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