Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoonahn authored Dec 21, 2024
1 parent 61cbcd7 commit 6b51310
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swift/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ final class Company: NSObject {
```

#### Optional Binding
`guard else` is written on the same line if it does not impair readability or does not exceed 100 lines. </br>
`guard else` is written on the same line if it does not impair readability or does not exceed 100 lines.

And Prefer to use guard statements rather than if statements to minimize overlap.

#### Defer
Expand Down

0 comments on commit 6b51310

Please sign in to comment.