• 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: App name from Bundle Identifier?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App name from Bundle Identifier?


  • Subject: Re: App name from Bundle Identifier?
  • From: Jamie Hardt <email@hidden>
  • Date: Fri, 12 Sep 2008 14:16:12 -0700

Dave-

Just a thought....

NSString *path = [[NSWorkspace sharedWorkspace] absolutePathForAppBundleWithIdentifier:bundleIdentifier];

NSString *appName = [[path lastPathComponent] stringByDeletingPathExtension];

On Sep 12, 2008, at 2:06 PM, Dave DeLong wrote:

Hi everyone,

I've been looking inside NSWorkspace, NSBundle, NSApplication, NSFileWrapper, etc for some way to get the display name of an application from it's bundle identifier, but I can't find anything. Is there a way to do this? For example, if I have "com.apple.InterfaceBuilder3", I'd like to get back "Interface Builder".
_______________________________________________

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: App name from Bundle Identifier?
      • From: Dave DeLong <email@hidden>
References: 
 >App name from Bundle Identifier? (From: Dave DeLong <email@hidden>)

  • Prev by Date: App name from Bundle Identifier?
  • Next by Date: Re: App name from Bundle Identifier?
  • Previous by thread: App name from Bundle Identifier?
  • Next by thread: Re: App name from Bundle Identifier?
  • Index(es):
    • Date
    • Thread