We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
You can find an example of ValueTransformer in the unit tests: https://github.com/gonzalezreal/Groot/blob/master/GrootTests/SerializationTests.swift#L23
ValueTransformer
And remember that the value transformer for a property is configured in the .xcdatamodel file: https://github.com/gonzalezreal/Groot/blob/master/GrootTests/Model.xcdatamodeld/Model.xcdatamodel/contents#L39
.xcdatamodel
Sorry, something went wrong.
and where should I place the code? I have class Animal, (Animal and _Animal). So, in Animal clasbut in what method? or after/before parsing data?
The value transformer(s) should be setup once before parsing. Usually application startup is a good place.
ok, and type in Model should be Transformable, right? but in that case I will need to convert property to needed type?
The type in the model doesn't need to be transformable. Please have a look at this document to get to know how Groot annotations work.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: