• 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: LSSharedFileList API bug(s) -- workaround?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LSSharedFileList API bug(s) -- workaround?


  • Subject: Re: LSSharedFileList API bug(s) -- workaround?
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 27 Oct 2008 14:00:51 -0700


On 2008 Oct, 27, at 13:24, Steven Degutis wrote:

I've been writing my own wrapper for the LSSharedFileList API to be able to
stick it in my Cocoa app. However I've found a few bugs.
One isn't that big of a deal, but I've filed a rdar for it anyway, and it's
that you can't actually set the Hide property. It just fails in odd ways.

Actually, when I wrote ^my^ wrapper for LSSharedFileList, I found that Hide fails consistently. You might want to reference the bug I filed, 5901742, 2008-04-30. Still open :(


The other one, however, is pretty major...

Another good reason to not use Login Items.

If anyone has any ideas for a workaround or solution, please let me know!

Yes. Instead of using a Login Item, have launchd launch whatever you want launched at login, and keep it running. This way, your user only has one UI to deal with adding/removing your login item: Your UI.


I've come to the conclusion that Login Items is for users who have a preference to see their Mail.app, iCal, coffee-maker, or whatever launched at login. For an application to place itself or its Helper in Login Items is redundant and confusing to the user. And, of course, redundant and confusing concepts lead one to write lots of buggy code.

http://developer.apple.com/macosx/launchd.html

_______________________________________________

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


  • Follow-Ups:
    • Re: LSSharedFileList API bug(s) -- workaround?
      • From: "Steven Degutis" <email@hidden>
References: 
 >LSSharedFileList API bug(s) -- workaround? (From: "Steven Degutis" <email@hidden>)

  • Prev by Date: Looking for the big hammer
  • Next by Date: performSelectorOnMainThread and exceptions
  • Previous by thread: LSSharedFileList API bug(s) -- workaround?
  • Next by thread: Re: LSSharedFileList API bug(s) -- workaround?
  • Index(es):
    • Date
    • Thread