Skip to content

syxsyxsyx/CLWebImageDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

CLWebImageDemo

提供一个类似SDWebImage图片异步加载框架的简单设计思路

主要使用方法

1 设置图片

[cell.imageView cl_setImageWithURL:_dataArr[indexPath.row] placeHolder:[UIImage imageNamed:@"default.jpg"] completion:^(UIImage *image) {
        
    }];

2 清除缓存

[CLImageManager.shareInstance clearCache];
[CLImageManager.shareInstance clearDisk];

编写思路:

[简书链接]https://www.jianshu.com/p/7edb18d3442c

About

提供图片缓存框架简单思路

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%