Skip to content

Commit f9f8e52

Browse files
committed
Undo 'add starter files'; update existing screenshots
1 parent 8d7ad6f commit f9f8e52

File tree

4 files changed

+8
-32
lines changed

4 files changed

+8
-32
lines changed

docs/images/xcode110.png

-5.33 KB
Loading

docs/images/xcode340.png

107 KB
Loading

docs/images/xcode350.png

-964 KB
Loading

docs/setup_xcode.md

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,14 @@ You should see your new file in the sidebar.
121121

122122
<img src="images/xcode119.png" width="768px" />
123123

124-
### Add starter files
125-
This example is from [EECS 280 Project 1](https://eecs280staff.github.io/stats/), but this tutorial doesn't require understanding the files. Your URL or files might be different.
126-
127-
<div class="primer-spec-callout warning" markdown="1">
128-
**Pitfall:** Don’t just drag starter files downloaded with your browser directly into Xcode. This may not place them in the correct project folder. If you want to use those files, skip to the [next section](#move-existing-files) for the correct steps. Otherwise, keep following this section without using any previously downloaded files.
129-
</div>
124+
### Add existing files
125+
If you have starter files, add them to your project directory. This example is from [EECS 280 Project 1](https://eecs280staff.github.io/stats/), but this tutorial doesn't require understanding the files. Your URL or files might be different.
130126

131127
<div class="primer-spec-callout warning" markdown="1">
132128
**Pitfall:** Make sure you're in the directory containing your source code.
133129
```console
130+
$ pwd
131+
/Users/awdeorio/eecs280/p1-stats
134132
$ ls
135133
main.cpp p1-stats.xcodeproj
136134
```
@@ -169,35 +167,13 @@ Right-click `p1-stats` in the sidebar. Select "Add Files".
169167

170168
<img src="images/xcode080.png" width="256px" />
171169

172-
Select all the starter files (<kbd>Command</kbd> + <kbd>a</kbd>). Your specific files may not match the image below. Do *not* select "Copy items if needed". Do *not* select any targets. Click "Add".
173-
174-
<img src="images/xcode100.png" width="384px" />
175-
176-
You will now see your files in the sidebar.
177-
178-
<img src="images/xcode110.png" width="256px" />
179-
180-
#### Rename files
181-
If you need to rename any files, use Xcode, not the command line or Finder. In EECS 280, you'll need to rename any files that end in `.starter`.
182-
183-
Select a file and press <kbd>Enter</kbd>. Change the file name. In EECS 280, you'll do this to any file that ends in `.starter`.
184-
185-
| <img src="images/xcode120.png" width="192px" /> | <img src="images/xcode125.png" width="192px" /> |
186-
187-
### Move existing files
188-
If you already have existing files elsewhere on your computer, you can also add them to your project. For example, if you want to use any files downloaded with your browser, they were likely saved to your Downloads folder and you'll need to move them into your project folder.
189-
190-
Use the menu and select: File > Add Files to "p1-stats"... (this will vary depending on your project's name).
191-
192-
<img src="images/xcode340.png" width="384px" />
193-
194-
Navigate to the directory with your existing files and select the ones you want to move. To select multiple files at once, you can hold down <kbd>Command</kbd> while clicking. You can also press <kbd>Command</kbd> + <kbd>a</kbd> to select all files. Once you've made your selection, click "Add".
170+
Select all the starter files (<kbd>Command</kbd> + <kbd>a</kbd>). Your specific files may not match the image below. Click "Add".
195171

196-
<img src="images/xcode350.png" width="768px" />
172+
<img src="images/xcode340.png" width="512px" />
197173

198-
Select "Move files to destination" as the action. You may also select "Copy files to destination" if you wish to leave the original files untouched, but do *not* select "Reference files in place". Do *not* select any targets. Click "Finish".
174+
Select "Move files to destination" as the action. Do *not* select any targets. Click "Finish".
199175

200-
<img src="images/xcode360.png" width="768px" />
176+
<img src="images/xcode350.png" width="512px" />
201177

202178
You will now see your files in the sidebar.
203179

0 commit comments

Comments
 (0)