Skip to content

Commit 3fc6a52

Browse files
author
Mic Pringle
committed
Merge pull request kodecocodes#135 from mmorey/master
Adds project settings spacing requirement.
2 parents 98fad36 + 17f4900 commit 3fc6a52

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,11 @@ let myClass = MyModule.UsefulClass()
123123

124124
## Spacing
125125

126-
* Indent using 2 spaces rather than tabs to conserve space and help prevent line wrapping. Be sure to set this preference in Xcode as shown below:
126+
* Indent using 2 spaces rather than tabs to conserve space and help prevent line wrapping. Be sure to set this preference in Xcode and in the Project settings as shown below:
127127

128128
![Xcode indent settings](screens/indentation.png)
129+
130+
![Xcode Project settings](screens/project_settings.png)
129131

130132
* Method braces and other braces (`if`/`else`/`switch`/`while` etc.) always open on the same line as the statement but close on a new line.
131133
* Tip: You can re-indent by selecting some code (or ⌘A to select all) and then Control-I (or Editor\Structure\Re-Indent in the menu). Some of the Xcode template code will have 4-space tabs hard coded, so this is a good way to fix that.

screens/project_settings.png

255 KB
Loading

0 commit comments

Comments
 (0)