Re: Performance of NSWorkspace fullPathForApplication:
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