Closed kukudas closed 9 years ago
You are right, this should be handled. But I prefer solving it lower level. I am currently looking at how I should fix this in EVReflection.
I just pushed EVReflection 2.4.5 plus AlamofireJsonToObjects 1.0.1 to GitHub. please run a 'pod update' and let me know if you find any other issues.
Thank you!
I'm having a generic function which fires requests to different endpoints. Sometimes these endpoints do not return anything. This is expected. I saw that the responseObject method will fail if the data object is nil.
My proposal would be to change it like this:
Let me know what you think about this. For the responseArray function something similar is needed.