SDWebImage 4.1.1 已发布,SDWebImage 是非常流行的 iOS 图片加载框架,提供了一个 UIImageView 的 category 用来加载网络图片并且对网络图片的缓存进行管理,采用异步方式来下载网络图片。更新内容如下:
修复
- Fixed crash on
[SDWebImageDownloaderOperation reset]_block_invoke2f892f9 fixes #1883 - Fixed
SDWebImageDownloadOperationimageDatamulti-thread issue #2011 fixes #1998[SDWebImageDownloaderOperation URLSession:dataTask:didReceiveData:]crash - Fixed
CFReleaseonNULLifCGImageSourceRefcreate failed #1978 fixes #1968 #1834 #1947 - Fixed request cache policy #1994 #2032 fixes #1993 #1861 #1623 was introduced by #1737(unit test #2031)
- Fixed
CGBitmapContextCreatebitmap memory leak #1976 replaces #1860 fixes #1974 - Fixed issue #2001, add
sd_currentBackgroundImageURLandsd_backgroundImageURLForState:forUIButton#2002 - Set
UIButtonplaceholer-image even if the url isnil#2043 fixes #1721 #1964 replaces #1790 - Use
CGImageSourceCreateIncrementalto perform progressive decoding instead of decode partial data each time from the beginning to improve performance and remove that gray background #2040 fixes #1899 - Fix SDWebImage v4 can not import libwebp framework’s header files #1983 fixes #1887
- Fix unreachable code build warning on
macOS#1984
改进
- Performance enhancement related to single
WebPand animatedWebPdecoding #1985 fixes #1999 #1885 - Use
FOUNDATION_EXPORToverextern#1977 - Move common test logic to
SDTestCase#1980 - Enabled
CLANG_WARN_STRICT_PROTOTYPES#1995 #2027 fixes #2022 - Update
macOS Demodeployment target to10.10to support build onXcode 9#2035
文档
下载地址:
Linuxeden开源社区