File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -221,13 +221,13 @@ Aspirational methods not directly associated with the tutorial whose implementat
221221** Not Preferred:**
222222``` swift
223223override func didReceiveMemoryWarning () {
224- super .didReceiveMemoryWarning ()
224+ super .didReceiveMemoryWarning ()
225225 // Dispose of any resources that can be recreated.
226226}
227227
228228override 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
233233override 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
486486let value = numbers.map { $0 * 2 }.filter { $0 % 3 == 0 }.index (of : 90 )
487487
488488let 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
You can’t perform that action at this time.
0 commit comments