Default location for new files?

Hi,


Usually when you create a new class or other file in Xcode, the default location of the new file is a folder with the same name as your project.


Somehow, I've ended up with a project where the default location for new files is the folder above this (the one with the .xcodeproj file in it).


I can certainly change the folder whenever I make a new file, if I remember to do it, but often I forget, and end up with half my files in one place and half in the other.


What controls this default, and how can I change it back to the folder I want?


Thanks.

Wow, four years later I have the same question. No answers?

Except, for me, it often defaults to putting files on my desktop. I'm right-clicking on the "Models" folder (say) in my project navigator pane, but it wants to save to my desktop? Where the heck is the setting to fix that?

Same for me! Xcode by default want save new file in wrong folder

Default location for new files?
 
 
Q