Skip to content

Instantly share code, notes, and snippets.

View xiaohuiCoding's full-sized avatar

xiaohuiCoding

View GitHub Profile
@xiaohuiCoding
xiaohuiCoding / gist:968e75c652182f969e5feecb98bff322
Created July 17, 2017 05:55 — forked from floriankugler/gist:6870499
Mapping of NSURLConnection to NSURLSession delegate methods. Created by Mattt Thompson.
NSURLConnection | NSURLSession
------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------
NSURLConnectionDelegate connectionShouldUseCredentialStorage: |
------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------
NSURLConnectionDelegate connection:willSendRequestForAuthenticationChallenge: | NSURLSessionDelegate URLSession:didReceiveChallenge:completionHandler:
| N