I was busy using the NSURLProtocolClientURLProtocol function :
welf?.client?.URLProtocol(welf!, didReceiveResponse: operation.response, cacheStoragePolicy: NSURLCacheStoragePolicy.NotAllowed)
I was expecting a return Void. But, to my surprise, he returnsVoid?
Why is it necessary to distinguish between VoidandVoid?
I read what Voidis a type alias for an empty type. So, does this have anything to do with the difference between an empty type type vs vs nil?
source
share