Skip to content

Instantly share code, notes, and snippets.

@pratikshabhisikar
Created May 7, 2012 11:08
Show Gist options
  • Save pratikshabhisikar/2627278 to your computer and use it in GitHub Desktop.
Save pratikshabhisikar/2627278 to your computer and use it in GitHub Desktop.
-(void) connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {
if (!receivedData) {
receivedData = [[NSMutableData data] retain];
}
[receivedData setLength:0];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment