Skip to content

Instantly share code, notes, and snippets.

View gujian's full-sized avatar

gu jian gujian

  • Meituan
  • Beijing China
View GitHub Profile
@gujian
gujian / gist:40b8c609e89142869ddbd88a9bb637e4
Created August 11, 2016 08:31 — 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