Skip to content

Commit 12b8c5b

Browse files
jawwadrayfix
authored andcommitted
Fix indentation to use 2 spaces instead of 3 (kodecocodes#246)
1 parent 46eefdf commit 12b8c5b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,13 @@ Aspirational methods not directly associated with the tutorial whose implementat
221221
**Not Preferred:**
222222
```swift
223223
override func didReceiveMemoryWarning() {
224-
super.didReceiveMemoryWarning()
224+
super.didReceiveMemoryWarning()
225225
// Dispose of any resources that can be recreated.
226226
}
227227

228228
override func numberOfSections(in tableView: UITableView) -> Int {
229-
// #warning Incomplete implementation, return the number of sections
230-
return 1
229+
// #warning Incomplete implementation, return the number of sections
230+
return 1
231231
}
232232

233233
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
@@ -486,9 +486,9 @@ Chained methods using trailing closures should be clear and easy to read in cont
486486
let value = numbers.map { $0 * 2 }.filter { $0 % 3 == 0 }.index(of: 90)
487487

488488
let value = numbers
489-
.map {$0 * 2}
490-
.filter {$0 > 50}
491-
.map {$0 + 10}
489+
.map {$0 * 2}
490+
.filter {$0 > 50}
491+
.map {$0 + 10}
492492
```
493493

494494
## Types

0 commit comments

Comments
 (0)