Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanhimmelman committed Sep 22, 2015
1 parent 5568740 commit 95e08af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -202,7 +202,7 @@ class Subclass: Base {
# Mapping Immutable Properties
If you have a class or struct whose properties are immutable (`let`) and want to map it using ObjectMapper, you can use the following approach.

In the failable initializer, assign values to your proteries using the `valueOrFail()` function on the `map` object. Once all propeties are set, check `isValid` to determine if mapping succeed for all the properties. If `isValid` returns false, return `nil` to indicate that initialization failed.
In the failable initializer, assign values to your properties using the `valueOrFail()` function on the `map` object. Once all propeties are set, check `isValid` to determine if the mapping succeeded for all properties. If `isValid` returns false, return `nil` to indicate that initialization failed.

```swift
class Model: Mappable {
Expand Down

0 comments on commit 95e08af

Please sign in to comment.