Correct crash in "Twitter Client"/ example #175

merged 1 commit into from May 1, 2013

5 participants


In the AppDotNetAPIClient, override
- (id)representationOrArrayOfRepresentationsOfEntity:(NSEntityDescription *)entity fromResponseObject:(id)responseObject

because all App.Net responses are wrapped in a "data" dictionary. Without this change, the example crashes.

@f1fe f1fe override representationOrArrayOfRepresentationsOfEntity:fromResponseO…
…bject: because all App.Net responses are wrapped in a 'data' dictionary

This tripped me up when trying to use the examples. Glad I stumbled upon this. Now the example works as intended.


+1 did the same fix.. I was pretty confuse... it suck when example doesn't work...


+1 I just debugged this myself @mattt this is a pia bug with a simple fix, please merge.

@mattt mattt merged commit 51c5f6e into AFNetworking:master May 1, 2013

Sorry for the delay. Thanks for sending the patch, @f1fe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment