On Sat, Mar 8, 2008 at 8:57 PM, Quincey Morris
<[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to