If you read the docs carefully you will see that inDirectory is actually used to load resources from another app bundle.
Thing is: you can just put your resources in subdirectories, but you do not specify this when you get the path. Just use something like:
[[NSBundle mainBundle] pathForResource:@"w1" ofType:@"geo"];
Even though it's in a subdir. The bundle will find this out for itself.
Of course, make sure that all your resources are uniquely named, otherwise you might not know which file you're actually loading.
|