Re: Auto Install Login Item
Re: Auto Install Login Item
- Subject: Re: Auto Install Login Item
- From: Kyle Sluder <email@hidden>
- Date: Sat, 3 Oct 2009 14:37:57 -0700
On Oct 3, 2009, at 2:26 PM, Jens Alfke <email@hidden> wrote:
No, launchd is not in charge of user-visible login items, only
background agents. See the second answer to the question.
On 10.5 and up, launchd can now handle per-user agents that need to
launch in a GUI bootstrap namespace. So if you are writing an agent
that might display some UI, launchd is a valid option. (I keep waiting
for iTunesHelper to move there and get the heck out of my login items.)
That said, just because your app doesn't have a dock icon does not
mean you should start it with launchd. Apps like Twiterriffic belong
in Login Items.
And if you're going to offer UI in your preferences for enabling
launch at login, make sure you also have UI to turn that off. Better
yet, don't offer that UI at all.
/rant
--Kyle Sluder
_______________________________________________
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