     }
     
     /// loads the image, save the image to cache, returns image in completion handler,
-    private func loadImageWithURL(_ url: URL, completion: DownloadCompletionBlock?) {
+    fileprivate func loadImageWithURL(_ url: URL, completion: DownloadCompletionBlock?) {
         
         if let image = AsyncImageCache.imageCache.loadImageFromCache(url: url) {
             // found image in cache

            return false
        }
    }
    
}

class AsyncImageView: UIImageView {
    
    /// Returns the cached image or nil if connection fails.
    var completionHandler:(DownloadCompletionBlock)? {
        didSet {
            
        }
    }
    
    /// Sets the cache policy for the image download request. Default values is .returnCacheDataElseLoad.
    var cachePolicy: URLRequest.CachePolicy = .returnCacheDataElseLoad
