SDWebImage/SDWebImage

Features
Categories for UIImageView, UIButton, MKAnnotationView adding web image and cache management
An asynchronous image downloader
An asynchronous memory + disk image caching with automatic cache expiration handling
A background image decompression to avoid frame rate drop
Progressive image loading (including animated image, like GIF showing in Web browser)
Thumbnail image decoding to save CPU && Memory for large images
Extendable image coder to support massive image format, like WebP
Full-stack solution for animated images which keep a balance between CPU && Memory
Customizable and composable transformations can be applied to the images right after download
Customizable and multiple caches system
Customizable and multiple loaders system to expand the capabilities, like Photos Library
Image loading indicators
Image loading transition animation
A guarantee that the same URL won’t be downloaded several times
A guarantee that bogus URLs won’t be retried again and again
A guarantee that main thread will never be blocked
Modern Objective-C and better Swift support
Performances!
Supported Image Formats
Image formats supported by Apple system (JPEG, PNG, TIFF, HEIC, …), including GIF/APNG/HEIC animation
WebP format, including animated WebP (use the SDWebImageWebPCoder project). Note iOS 14/macOS 11.0 supports built-in WebP decoding (no encoding).
Support extendable coder plugins for new image formats like BPG, AVIF. And vector format like PDF, SVG. See all the list in Image coder plugin List
Additional modules and Ecosystem
In order to keep SDWebImage focused and limited to the core features, but also allow extensibility and custom behaviors, during the 5.0 refactoring we focused on modularizing the library. As such, we have moved/built new modules to SDWebImage org.

SwiftUI
SwiftUI is an innovative UI framework written in Swift to build user interfaces across all Apple platforms.

We support SwiftUI by building a brand new framework called SDWebImageSwiftUI, which is built on top of SDWebImage core functions (caching, loading and animation).

The new framework introduce two View structs WebImage and AnimatedImage for SwiftUI world, ImageIndicator modifier for any View, ImageManager observable object for data source. Supports iOS 13+/macOS 10.15+/tvOS 13+/watchOS 6+ and Swift 5.1. Have a nice try and provide feedback!

Coders for additional image formats
SDWebImageWebPCoder - coder for WebP format. iOS 8+/macOS 10.10+. Based on libwebp
SDWebImageHEIFCoder - coder for HEIF format, iOS 8+/macOS 10.10+ suppor

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值