Created
May 13, 2018 03:19
-
-
Save an-indya/46e9ac62eec64a3eb07f0986a81b32dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[NSURLConnection sendAsynchronousRequest:request | |
queue:[NSOperationQueue mainQueue] | |
completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { | |
[self doSomethingWithData:data]; | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment