 
 
 
-extension UIImageView: NSURLSessionDataDelegate, NSURLSessionTaskDelegate {
+extension UIImageView: NSURLSessionDataDelegate {
     
     
     var JCircleProgressView: CircleProgressView! {

    }


    public func URLSession(session: NSURLSession, downloadTask: NSURLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {

        
    }
    
    
//////xcodebuild issue(as different optionality than expected by protocol 'NSURLSessionTaskDelegate'), when I upload this code to cocoapods; But it work fine without cocoapods; So if you want to take the didCompleteWithError event, you can recover this code~
//
    public func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError!) {
        
        if(error != nil) {
            session.invalidateAndCancel()

    
    
    
    private func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveResponse response: NSURLResponse, completionHandler: (NSURLSessionResponseDisposition) -> Void) {
        print(response.expectedContentLength)
        self.Jparameter.JLength = Int(response.expectedContentLength)
        self.JStatus = "Start"
