• 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: How to locate bundle by bundleID?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to locate bundle by bundleID?


  • Subject: Re: How to locate bundle by bundleID?
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Fri, 3 Oct 2003 15:25:02 +0100

On Friday, October 3, 2003, at 02:53 pm, Nikolay Ilduganov wrote:

I have to locate and open bundle by it's BundleID. Is there any way to do this without searching contents of all disk?
There are method
+ (NSBundle *)bundleWithIdentifier:(NSString *)identifier
but it requires already existing instance.
For example I have to open com.apple.driver.AppleXserveRAID bundle. How to locate it?

I don't think there's a general solution to this problem (but I may be wrong, and I would certainly be interested to hear of one if someone does know a way). If you're talking about the specific case of Kext bundles, then there is a KextManagerCreateURLForBundleIdentifier() function that will give you an NSURL (well, a CFURL, but they're one and the same) from a bundle identifier, but I haven't seen any more general-purpose function.

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >How to locate bundle by bundleID? (From: Nikolay Ilduganov <email@hidden>)

  • Prev by Date: How to locate bundle by bundleID?
  • Next by Date: Using NSMutableString* for NSString* result
  • Previous by thread: How to locate bundle by bundleID?
  • Next by thread: Re: How to locate bundle by bundleID?
  • Index(es):
    • Date
    • Thread