• 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: +[NSBundle bundleWithIdentifier:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >+[NSBundle bundleWithIdentifier:] (From: Lawrence Sanbourne <email@hidden>)

  • Prev by Date: NSAllowsNullArgument undefined?
  • Next by Date: Re: NSAllowsNullArgument undefined?
  • Previous by thread: Re: +[NSBundle bundleWithIdentifier:]
  • Next by thread: Re: +[NSBundle bundleWithIdentifier:]
  • Index(es):
    • Date
    • Thread