Xcode doesn't properly setup localized subdirectory resources
I have a project, where i want to have localized template files For general cleanliness I'd like to have them in a subdirectory of the [NSBundle mainBundle].
The API for loading files like this would be:
path = [[NSBundle mainBundle] pathForResource:@"File.text" ofType:@"rtf" inDirectory:@"Templates"];
This is my localized test file. |
This is how I copy the test file into the subdirectory. |
and this is where Xcode places the file, vs. where NSBundle expects it: |