• 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
+bundleForClass: category question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

+bundleForClass: category question


  • Subject: +bundleForClass: category question
  • From: Graham Cox <email@hidden>
  • Date: Mon, 16 Jul 2012 12:30:58 +1000


If I create a category on a standard framework class as part of another framework, and I use +[NSBundle bundleForClass:] to load an image resource for use by that category, does that work, i.e. does it load the bundle of the framework containing the category, or the bundle containing the original class being extended?


--Graham

_______________________________________________

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: +bundleForClass: category question
      • From: Uli Kusterer <email@hidden>
    • Re: +bundleForClass: category question
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: NSAttributedString location for drawing, glyph location and baseline
  • Next by Date: Re: Cocoa-dev Digest, Vol 9, Issue 488
  • Previous by thread: Re: NSAttributedString location for drawing, glyph location and baseline
  • Next by thread: Re: +bundleForClass: category question
  • Index(es):
    • Date
    • Thread