FROM : Jens Alfke
DATE : Wed Apr 02 19:43:59 2008
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
DATE : Wed Apr 02 19:43:59 2008
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
| Related mails | Author | Date |
|---|---|---|
| Yogesh Potdar | Apr 2, 14:20 | |
| Jens Alfke | Apr 2, 16:59 | |
| Trygve Inda | Apr 2, 17:36 | |
| Jens Alfke | Apr 2, 19:43 |






Cocoa mail archive

