Slide 37
Slide 37 text
NSURLSession
Metrics [new!]
New
in
iOS
10! Thanks Apple!
func urlSession(
_ session: NSURLSession,
task: NSURLSessionTask,
didFinishCollecting metrics: NSURLSessionTaskMetrics)
• Number of Redirects, time it took task to complete
• Whole lot of goodness in
NSURLSessionTaskMetrics
• Build your own waterfall!
• https://developer.apple.com/reference/foundation/
nsurlsessiontasktransactionmetrics