适用于iOS的图像缓存库? [英] Which image caching library for iOS?
本文介绍了适用于iOS的图像缓存库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在构建相册应用并找到一些图像缓存库,即:
I am building a photo album app and find a few image caching libraries, namely:
- JMImageCache
- HJCache
- SDWebImage
您推荐的是什么(或列表中没有的其他库)?我在寻找:
What one you'd recommend (or other libs not on the list)? I am looking for:
- 效率
- 垃圾收集方面的最小努力
- 首选支持块
谢谢
推荐答案
我个人认为 SDWebImage 是最好的,因为它是绝对的免费解决方案,并提供最简单的缓存处理机制,因为它只是UIImageView类的扩展。
Personally, I think SDWebImage is the best because it is an absolute no-effort solution, and provides the simplest mechanism for cache handling as it is simply an extension of the UIImageView class.
这篇关于适用于iOS的图像缓存库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文