You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to set API field transformers? For eg i know that in my api all fields named createdAt need to be transformed to NSDate. It's possible to do that?
The text was updated successfully, but these errors were encountered:
A quick and dirty approach is to change the generated property type to NSDate * instead of NSString * and see if it works. This should work if your date format is ISO 8601: http://en.wikipedia.org/wiki/ISO_8601
This approach is not ideal though as you would be changing the generated source code. These would be overwritten the next time you generate the code. I will have to think about this more, but hopefully this gets you going for the time being.
It's possible to set API field transformers? For eg i know that in my api all fields named createdAt need to be transformed to NSDate. It's possible to do that?
The text was updated successfully, but these errors were encountered: