WordPress-API-iOS
WordPress-API-iOS copied to clipboard
Error on WordPressRestApiJSONRequestOperation error method
Hi, I got an error when I was tying to use the example app.
AFHTTPRequestOperation error is being overwritten and is calling self.responseObject.
The problem is that AFHTTPRequestOperation responseObject implementation calls self.error and then we get an infinite loop crash.
The "right" thing to do here is probably remove the code inside AFHTTPRequestOperation and move it to a custom AFHTTPResponseSerializer class.
Here I'm using AFNetworking (2.3.1).