Why are my files created above my project? ; Xcode 7 beta

Discussion in 'iOS Programming' started by jonpeter, Sep 2, 2015.

  1. jonpeter macrumors member

    Sep 19, 2013
    So I'm attempting to pick up swift again and I keep running into this dilemma. I was familiar with Xcode 6, if I wanted to create a new file, I would simply highlight (for example) the main storyboard tab on the left, create the file, and as soon as I clicked "create", that file would pop up or below the highlighted menu item.

    In this Xcode 7 beta, when I attempt to create a file, it is created above my project. In order to get any use out of it, I have to copy it into my project...
    Screenshot 2015-09-02 23.21.48.png
    why is this/do you have any fixes? For the moment, I have just been copying it to the SeptemberTable folder in this example.
  2. mfram macrumors 65816

    Jan 23, 2010
    San Diego, CA USA
    I haven't played with Xcode 7 and others have been complaining of bugs. So it wouldn't surprise me if it were broken. I would click on the folder "SeptemberTable" before selecting the New File option. That might put it in the correct spot in the future. I think you should be able to select and drag the file into the spot you want it in your hierarchy. I've re-organized files on my projects and it's just a matter of click-and-drag to move the file.

Share This Page