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 protected])

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