Quote:
Originally Posted by PhoneyDeveloper
I assume you meant bundlePath. [NSBundle mainBundle] is a singleton that refers to the main bundle of your app. On iPhone OS you can only have a single bundle but on MacOS its possible to have multiple bundles inside the main bundle and in fact you can load bundles from arbitrary paths. That's what bundleWithPath would do but it's obviously of no purpose on iPhone OS.
bundlePath, resourcePath and the related methods give you full paths to those directories. I'm not sure if the pathForResource methods will give you a path to a folder inside the bundle dir. They might. If they don't then you can build a path starting with mainBundle and using the methods in NSPathUtilities.h like stringByAppendingPathComponent.
|
Thanks for your response.