Re: Launch Services vs. NSWorkspace for app bundle path
Re: Launch Services vs. NSWorkspace for app bundle path
- Subject: Re: Launch Services vs. NSWorkspace for app bundle path
- From: Douglas Davidson <email@hidden>
- Date: Wed, 21 Dec 2005 09:44:51 -0800
On Dec 20, 2005, at 7:41 PM, Ben Kazez wrote:
I am using Launch Services in a Cocoa class to figure out the path
to the bundle of another application (the main application in my
suite). I just discovered that -[NSWorkspace
absolutePathForAppBundleWithIdentifier:] can do the same thing. Are
these two techniques functionally identical? Is there any reason
not to switch to NSWorkspace, which I prefer for its simplicity?
NSWorkspace generally uses Launch Services where the two have
overlapping functionality. If NSWorkspace provides what you want,
there is no reason not to use it.
Douglas Davidson
_______________________________________________
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