Image downloading, caching and filters for Alamofire
open sourceMITfree
AlamofireImage is an image component library for Alamofire on Apple platforms. It adds image response serializers, UIImage extensions for inflating, scaling, rounding and Core Image filters, single and multi-pass image filters, an auto-purging in-memory image cache, and a downloader with prioritized queues and URLCredential authentication. UIImageView extensions load remote images asynchronously with placeholders, filters and transitions. It needs Swift 6, Xcode 16 and Alamofire 5.11 or later, and installs with CocoaPods, Carthage or Swift Package Manager.
Problems it solves
- download and cache remote images in an iOS app that already uses Alamofire
- show a placeholder while an image loads into a UIImageView
- round, scale or filter downloaded images in Swift
Features
- Image response serializers for Alamofire
- In-memory image cache that purges itself
- Downloader with prioritized queues and URLCredential authentication
- Single and multi-pass image filters
- UIImageView async loading with placeholders and transitions
Alternatives
The same job
These do what AlamofireImage does.
- SDWebImageSwiftUI SwiftUI image loading and animation framework powered by SDWebImage
- Kingfisher A lightweight, pure-Swift library for downloading and caching images from the web
- Nuke Powerful image loading system
- SDWebImage Asynchronous image downloading and caching for iOS, macOS, tvOS, watchOS and visionOS
