Re: +[NSBundle bundleWithIdentifier:]
Re: +[NSBundle bundleWithIdentifier:]
- Subject: Re: +[NSBundle bundleWithIdentifier:]
- From: Ryan Britton <email@hidden>
- Date: Tue, 11 Oct 2005 06:09:17 -0700
To use that method, you must have already loaded the bundle at some
point during the current execution of the program using something
like +bundleWithPath:, which I think defeats what you're trying to do
with it. All it does is return an existing instance.
On Oct 10, 2005, at 10:22 PM, Lawrence Sanbourne wrote:
Hi,
I have a Cocoa widget plugin that needs to access resources (a private
framework and a Sync Services schema) that is in the main
application's bundle. I could use +[NSBundle bundleWithIdentifier:] to
access this, but I'm worried that it will not work if the user moves
the application around frequently. Is there a way to solve this other
than putting the resources in a framework in /Library/Frameworks? I
really want to avoid having an Installer app.
Thanks,
--
Larry Sanbourne
email@hidden
_______________________________________________
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
_______________________________________________
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