Re: NSBundle
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.