Learn NSURLSession using Swift Part 1 — HTTP/HTTPS GET
Sam Wang

Hi, I’m new in ios and I always have two warnings/errors about two delegate functions:

Non-@objc method ‘URLSession(_:didReceiveChallenge:completionHandler:)’ cannot satisfy optional requirement of @objc protocol ‘NSURLSessionDelegate’

I cannot find any information from internet.

Any suggestion?

Thanks in advance.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.