• 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: Where to find?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to find?


  • Subject: Re: Where to find?
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 11 May 2010 00:21:39 +0200

On 11.05.2010, at 00:15, ML wrote:
> Ah, well, What I am trying to do is ensure what version and what application of ours they are running. Our app is a plugin and it can be put in a few locations and I want to know. I *can* always check the paths manually and decide, but yes, perhaps LaunchServices would be best.

 If your application is a plug-in, it is probably a bundle. In that case NSBundle can be used to give you the path to your file. Or if you want the path to your host application, you can ask NSBundle for the mainBundle.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://groups.yahoo.com/group/mac-gui-dev/

_______________________________________________

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: Where to find?
      • From: ML <email@hidden>
References: 
 >Re: Where to find? (From: ML <email@hidden>)

  • Prev by Date: Re: Where to find?
  • Next by Date: Re: Where to find?
  • Previous by thread: Re: Where to find?
  • Next by thread: Re: Where to find?
  • Index(es):
    • Date
    • Thread