Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Doc: Link to ObjectMapper lib
Browse files Browse the repository at this point in the history
  • Loading branch information
AliSoftware authored Sep 14, 2017
1 parent b48a85a commit 9128cbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/templates/object-mapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
| Invocation example | `gyro -m <model> -t object-mapper …` |
| Language | Swift 3 |

This template generate `ObjectMapper` extension for each object of your data model.
This template is useful if you use [ObjectMapper](https://github.com/Hearst-DD/ObjectMapper) to handle the JSON parsing of your model objects. It generates an `ObjectMapper` extension for each object of your data model.

Note: When using this template to handle your JSON parsing for Swift, you'll have to use the `swift3-variant` template (instead of using the `swift3` template) to generate your main code for Realm Object classes (as it generates `var` and optional properties which are needed by `ObjectMapper`)
_Note: When using this template to handle your JSON parsing for Swift, you'll have to use the `swift3-variant` template (instead of using the `swift3` template) to generate your main code for Realm Object classes (as it generates `var` and optional properties which are needed by `ObjectMapper`)_

# Generated Code

Expand Down

0 comments on commit 9128cbc

Please sign in to comment.