• 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: Launch Services vs. NSWorkspace for app bundle path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Launch Services vs. NSWorkspace for app bundle path (From: Ben Kazez <email@hidden>)

  • Prev by Date: call super class method
  • Next by Date: Re: Height of an NSAttributedString
  • Previous by thread: Launch Services vs. NSWorkspace for app bundle path
  • Next by thread: Versioning via build settings?
  • Index(es):
    • Date
    • Thread