Data parsing is one of most common tasks we need to do in our apps, yet still majority of people do this parsing by hand, always repeating the same code for each class they need to map.
Usual parsing requires this steps:
- make sure you translate NSNull to nil and not crash
- gracefully handle optional params
- do type conversions
I’ll show show you how you could simplify your code, with very lightweight pattern (0 Dependendencies). Or just jump straight to github repoRead on →