Skip to content

Commit 193feac

Browse files
committed
Remove examples
1 parent addc392 commit 193feac

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

README.markdown

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -364,23 +364,8 @@ In Sprite Kit code, use `CGFloat` if it makes the code more succinct by avoiding
364364

365365
Constants are defined using the `let` keyword, and variables with the `var` keyword. Always use `let` instead of `var` if the value of the variable will not change.
366366

367-
**Tip:** A good technique is to define everything using `let` and only change it to `var` when the compiler complains!
367+
**Tip:** A good technique is to define everything using `let` and only change it to `var` if the compiler complains!
368368

369-
**Preferred:**
370-
```swift
371-
let myClass = MyClass()
372-
let sectionCount = 5
373-
let request = NSMutableURLRequest(URL: myURL)
374-
request.HTTPMethod = "GET"
375-
```
376-
377-
**Not Preferred:**
378-
```swift
379-
var myClass = MyClass()
380-
var sectionCount = 5
381-
var request = NSMutableURLRequest(URL: myURL)
382-
request.HTTPMethod = "GET"
383-
```
384369

385370
### Optionals
386371

0 commit comments

Comments
 (0)