Skip to content

Commit da0428e

Browse files
committed
Changed all 'Preferred' and 'Not Preferred' to be bold.
1 parent d5fbd8c commit da0428e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ Here are some of the documents from Apple that informed the style guide. If some
5656

5757
US English should be used.
5858

59-
Preferred:
59+
**Preferred:**
6060
```objc
6161
UIColor *myColor = [UIColor whiteColor];
6262
```
6363

64-
Not Preferred:
64+
**Not Preferred:**
6565
```objc
6666
UIColor *myColour = [UIColor whiteColor];
6767
```
@@ -116,7 +116,7 @@ Use `#pragma mark -` to categorize methods in functional groupings and protocol/
116116
* Indent using 2 spaces (this conserves space in print and makes line wrapping less likely). Never indent with tabs. Be sure to set this preference in Xcode.
117117
* 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.
118118

119-
Preferred:
119+
**Preferred:**
120120
```objc
121121
if (user.isHappy) {
122122
//Do something
@@ -125,7 +125,7 @@ if (user.isHappy) {
125125
}
126126
```
127127

128-
Not Preferred:
128+
**Not Preferred:**
129129
```objc
130130
if (user.isHappy)
131131
{
@@ -140,7 +140,7 @@ else {
140140
* Prefer using auto-synthesis. But if necessary, `@synthesize` and `@dynamic` should each be declared on new lines in the implementation.
141141
* Colon-aligning method invocation should often be avoided. There are cases where a method signature may have >= 3 colons and colon-aligning makes the code more readable. Please do **NOT** however colon align methods containing blocks because Xcode's indenting makes it illegible.
142142

143-
Preferred:
143+
**Preferred:**
144144

145145
```objc
146146
// blocks are easily readable
@@ -151,7 +151,7 @@ Preferred:
151151
}];
152152
```
153153
154-
Not Preferred:
154+
**Not Preferred:**
155155
156156
```objc
157157
// colon-aligning makes the block indentation hard to read

0 commit comments

Comments
 (0)