• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shell tool with GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Shell tool with GUI (From: Chris Hiszpanski <email@hidden>)
 >Re: Shell tool with GUI (From: "Michael Ash" <email@hidden>)

  • Prev by Date: NSTask
  • Next by Date: Re: NSDictionary mutability test
  • Previous by thread: Re: Shell tool with GUI
  • Next by thread: Re: Cocoa-dev Digest, Vol 5, Issue 2097
  • Index(es):
    • Date
    • Thread