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

Re: bundleWithIdentifier: failures


  • Subject: Re: bundleWithIdentifier: failures
  • From: Keith Duncan <email@hidden>
  • Date: Sat, 29 Dec 2007 15:40:49 +0000

I'm being floored by an issue where NSBundle's bundleWithIdentifier: is failing to load one of my frameworks.

NSBundles' bundleWithIdentifier: method won't load the bundle you are requesting, it will simply return an already initialized framework matching the identifier. If you want to get the image using this method you need to load the framework before attempting to use its resources. This can be done by simply linking against the framework.


- Keith
_______________________________________________

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: bundleWithIdentifier: failures
      • From: Ricky Sharp <email@hidden>
References: 
 >bundleWithIdentifier: failures (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Insert text into NSTextView/NSTextStorage does not work
  • Next by Date: Re: Insert text into NSTextView/NSTextStorage does not work
  • Previous by thread: Re: bundleWithIdentifier: failures
  • Next by thread: Re: bundleWithIdentifier: failures
  • Index(es):
    • Date
    • Thread