CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Dec 2016 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by Saturngod.
add
pod "CQImageDownloader"
copy to CQImageDownloader/Classes/CQImageDownloader.swift to your project.
imageView.setCQImage("https://unsplash.com/photos/BO5BswJwguI/download?force=true")imageView.setCQImage("https://unsplash.com/photos/BO5BswJwguI/download?force=true", placeholder: placeholderImage)imageView.setCQImage("https://unsplash.com/photos/BO5BswJwguI/download?force=true", placeholder: nil, progress: { (value: Float) in
//supporting progress
print(value)
})
imageView.setCQImage("https://unsplash.com/photos/BO5BswJwguI/download?force=true", placeholder: nil, progress: nil, completion: { (image:UIImage?, success:Bool) in
if (success) {
}
})CQImageDownloader.clearAllTheCachedImages()var downloader = CQImageDownloader()
downloader.deleteCacheImage("file URL")