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 (Cocoa-dev@lists.apple.com)

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