• 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: cocoa/obj-c type daemon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa/obj-c type daemon


  • Subject: Re: cocoa/obj-c type daemon
  • From: Bill Cheeseman <email@hidden>
  • Date: Wed, 06 Oct 2004 15:20:52 -0400

on 2004-10-06 2:19 PM, Matthew Jaffa at email@hidden wrote:

> So far with my example when it calls NSApplicationMain(argc, argv); the icon
> shows up in the Doc.
> Is there any way to make this not possible and to make it so that they don't
> even know the daemon is running, only by doing a ps.

Look up LSUIElement in the Xcode documentation search facility. The first
thing to read is the Mac OS X:Runtime Configuration:Property List Key
Reference document. By setting LSUIElement = 1 in your application's
Info.pList file, you will keep your application out of the Dock and the
Force Quit window, but you will still have the ability to bring up UI when
you need to.

In all other respects, your application can be an ordinary Cocoa application
based on NSApplication. As to how you will handle sockets, that's for
somebody else to answer.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >cocoa/obj-c type daemon (From: "Matthew Jaffa" <email@hidden>)

  • Prev by Date: Help with pixellated NSTIFFRepresentation issues much appreciated
  • Next by Date: Re: cocoa/obj-c type daemon
  • Previous by thread: cocoa/obj-c type daemon
  • Next by thread: Re: cocoa/obj-c type daemon
  • Index(es):
    • Date
    • Thread