Re: prefPane with background process
Re: prefPane with background process
- Subject: Re: prefPane with background process
- From: Jens Alfke <email@hidden>
- Date: Wed, 2 Apr 2008 10:43:59 -0700
On 2 Apr '08, at 8:36 AM, Trygve Inda wrote:
To make sure the worker app does not show up in the dock add this to
its
info.plist:
<key>NSUIElement</key>
<string>1</string>
It's actually LSUIElement.
Whether this key is appropriate depends on what the service does. If
it has a user interface (uses AppKit) but just doesn't want to show up
in the Dock or have a menu bar, then LSUIElement is the way to go. But
for a real background process with no UI, it's better to use
LSBackgroundOnly instead. The difference is that LSBackgroundOnly
processes don't get a connection to the window server, which saves
system resources.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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