• 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: Performance of NSWorkspace fullPathForApplication:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance of NSWorkspace fullPathForApplication:


  • Subject: Re: Performance of NSWorkspace fullPathForApplication:
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 8 Oct 2004 18:26:10 -0400

Daryl Thachuk (email@hidden) on Wed, Oct 6, 2004 19:38 said:

>I've recently encountered an issue with NSWorkspace
>-fullPathForApplication: which I have never encountered before. When an
>app calls -fullPathForApplication: for the first time we are
>experiencing significant delays in getting back the results (3-4 mins).
>It appears that NSWorkspace is searching all the system application
>directories for information and since we have a rather large Network
>mounted Application directory this can take awhile. I've always thought
>this method would consult the Launch Services cache to retrieve the
>information but this does not seem to be the case.

Maybe try absolutePathForAppBundleWithIdentifier: instead? This would
have the advantage on not depending on the app's name, which the user can
change.

--
Erroneous google translation: "To make return vegetables in 2 C to tea of
vinaigrette to crystallized tomatos and origan of Kraft, or other, until
A what the vegetables are tender."

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Performance of NSWorkspace fullPathForApplication: (From: Daryl Thachuk <email@hidden>)

  • Prev by Date: Re: make a player with "output to portable mp3 audio player" support
  • Next by Date: Re: open the AddressBook and have a group selected
  • Previous by thread: Performance of NSWorkspace fullPathForApplication:
  • Next by thread: NSURLConnection and resumes
  • Index(es):
    • Date
    • Thread