Skip to content

Commit

Permalink
Updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanhimmelman committed Aug 10, 2015
1 parent 51bd3f0 commit 9dda03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -160,7 +160,7 @@ id <- (map["id"], TransformOf<Int, String>(fromJSON: { $0?.toInt() }, toJSON: {
```

#Subclasses
Classes that implement the Mappable protocol can easily be subclassed. When subclassing Mappable classes, follow the structure below:
Classes that implement the Mappable protocol can easily be subclassed. When subclassing Mappable classes, follow the structure below (note that you must use the `class` keyword instead of `static`):
```
class Base: Mappable {
var base: String?
Expand Down

0 comments on commit 9dda03e

Please sign in to comment.