XCode is not auto completing this methods i did set the delegate for
NSURLSessionTaskDelegate
,NSURLSessionDelegate,NSURLSessionDownloadDelegate
but it still not completing so i feel that i am setting the wrong delegates cause thats what xcode do when i set the wrong delegate
URLSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)
URLSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:)
URLSession(_:downloadTask:didFinishDownloadingToURL:)
well whats wrong with swift this time
See Question&Answers more detail:os