Re: NSBundle
Re: NSBundle
- Subject: Re: NSBundle
- From: Ali Ozer <email@hidden>
- Date: Mon, 7 May 2001 19:26:13 -0700
>
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.
The class method does the same search an NSBundle instance would, but
without creating an NSBundle instance. The directory argument is the
full path to the would-be bundle.
I believe the instance method of the same name treats the directory
argument as the subdir in the bundle, which is the use you were looking
for.
A bit confusing, and doesn't help that the doc links are somewhat messed
up.
Ali