Skip to content

Commit

Permalink
added rule 3.1.16 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
drumnkyle authored Aug 31, 2016
2 parents 923745d + c414fdf commit bdd40b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Make sure to read [Apple's API Design Guidelines](https://swift.org/documentatio

Specifics from these guidelines + additional remarks are mentioned below.

This guide was last updated for Swift 2.2 on August 27th, 2016.
This guide was last updated for Swift 2.2 on August 30th, 2016.

## Table Of Contents

Expand Down Expand Up @@ -473,6 +473,8 @@ do {

* **3.1.15** If you have a function that takes no arguments, has no side effects, and returns some object or value, prefer using a computed property instead.

* **3.1.16** For the purpose of namespacing a set of `static` functions and/or `static` computed properties, prefer using a caseless `enum` over a `class` or a `struct`. This way, you don't have to add a `private init() { }` to the container.

### 3.2 Access Modifiers

* **3.2.1** Write the access modifier keyword first if it is needed.
Expand Down

0 comments on commit bdd40b9

Please sign in to comment.