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

Re: NSBundle


  • Subject: Re: NSBundle
  • From: email@hidden
  • Date: Mon, 7 May 2001 15:07:55 -0700

Never mind my previous question about NSBundle.

The right way to do it is [[NSBundle mainBundle] pathForResource: ofType: inDirectory:]. I'm not sure what the class method is supposed to be for, though.

Also, the documentation has links that point to the wrong descriptions (i.e. the links for the class method point to the description of the instance method).

There still seems to be a problem (i.e. it crashed) if a nil inDirectory is passed, but I can live with that.

Arno.


  • Follow-Ups:
    • Re: NSBundle
      • From: Ali Ozer <email@hidden>
  • Prev by Date: Re: FindFolder Equivalent?
  • Next by Date: Inserting another tab in the Network control panel
  • Previous by thread: NSBundle
  • Next by thread: Re: NSBundle
  • Index(es):
    • Date
    • Thread