Re: How to locate bundle by bundleID?
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.