Re: Shell tool with GUI
Re: Shell tool with GUI
- Subject: Re: Shell tool with GUI
- From: Rob Keniger <email@hidden>
- Date: Tue, 9 Dec 2008 08:22:28 +1000
On 09/12/2008, at 3:06 AM, Michael Ash wrote:
Can't be done. NSApplication is a prerequisite to creating windows
with Cocoa. NSApplication is not incompatible with a shell tool as
others have mentioned so you can simply do this *with* an instance of
NSApplication, however I would like to point out a couple of
alternative strategies that you may not have considered.
It's probably also worth mentioning the LSUIElement key that you can
insert into your app's Info.plist file. If you set LSUIElement to 1,
your app will be a full-blown graphical application that can open
windows etc, but it will not appear in the Dock and does not have a
menu bar.
--
Rob Keniger
_______________________________________________
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