On this page
Overview
SDWebImage is an asynchronous image downloading and caching library for Apple platforms. It adds URL-backed image loading APIs to UIImageView and related UI types, and extends the pipeline with memory/disk caches, progressive loading, animated images, transformations, and coder plugins.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Combine asynchronous downloads and caching behind UIImageView APIs
A Swift call to imageView.sd_setImage can fetch a remote URL asynchronously while handling placeholders and caches. The core also avoids duplicate downloads for the same URL and manages memory and disk image caches.
Extend the pipeline with animated images, progressive loading, and coder plugins
The library supports GIF/APNG-style animated images, progressive loading, thumbnail decoding, transformations, and custom cache/loader systems. Additional coder plugins cover formats such as WebP, HEIF, AVIF, and SVG.
Sources: [2]
Best fit
Fits UIKit-heavy iOS applications that display many remote images
It is useful for lists and feeds that need shared download, cache, placeholder, and animation behavior. SwiftUI-specific views live in the separate SDWebImageSwiftUI repository.
Sources: [2]
Before adoption
Version 5.21.7 requires iOS 9+ and Xcode 15+, while SwiftUI UI lives in a separate package
The README lists iOS 9 or later and Xcode 15 or later. The SwiftPM target includes PrivacyInfo.xcprivacy. SwiftUI applications should separately evaluate SDWebImageSwiftUI when they need native SwiftUI image views rather than UIKit integration.
Official sources
- [1]SDWebImage/SDWebImage — GitHub repository(2026-10-06)
- [2]SDWebImage 5.21.7 — README(2026-10-06)
- [3]SDWebImage 5.21.7 — How To Use(2026-10-06)
- [4]SDWebImage 5.21.7 — Package.swift(2026-10-06)
- [5]SDWebImage 5.21.7 release(2026-10-06)
- [6]SDWebImage MIT license(2026-10-06)
Supplemental curator note
SDWebImage fits UIKit-heavy applications that display many remote images and want shared download, cache, placeholder, and animation behavior. SwiftUI views live in SDWebImageSwiftUI, so SwiftUI-first apps should evaluate that package separately.
Try it in 3 steps
- 1
Add SDWebImage 5.21.7 with SwiftPM
Pin the reviewed latest release. The README requires iOS 9+ and Xcode 15+.
.package(url: "https://github.com/SDWebImage/SDWebImage.git", exact: "5.21.7") - 2
Import SDWebImage
Load the core module so UIKit can use the UIImageView web-cache extension.
import SDWebImage - 3
Load a remote image into UIImageView
Follow the README Swift example and verify asynchronous download, caching, and placeholder behavior together.
imageView.sd_setImage( with: URL(string: "https://example.com/image.jpg"), placeholderImage: UIImage(named: "placeholder") )
Growth
Growth trends · Last 30 days
25,612 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 0
- Open PRs
- 8
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- macos
- ios
- watchos
- image
- jpeg
- png
- gif
- webp
- cache
- objective-c
- swift
- cocoapods
- Stars
- 25,612
- Forks
- 5,955
- Watchers
- 777
- Open issues
- 125
- Contributors
- 260
- Owner type
- Organization
- Primary language
- Objective-C
- License
- MIT
- Repository last updated
- Apr 15, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Apollo iOS4,037 Stars
4 shared tag(s) · 2 shared category(s)
generate type-safe Swift models from GraphQL and combine queries with normalized caching
Swift - Flutter179,343 Stars
3 shared tag(s) · 2 shared category(s)
build mobile, web, and desktop UI from one Dart codebase
Dart - Expo52,566 Stars
3 shared tag(s) · 2 shared category(s)
build React Native apps for Android, iOS, and web from one project model
TypeScript - Kingfisher24,405 Stars
3 shared tag(s) · 2 shared category(s)
Handle image download, processing, and caching in Apple-platform interfaces
Swift - Moya15,353 Stars
3 shared tag(s) · 2 shared category(s)
define API endpoints as typed targets and unify networking, stubs, and plugins
Swift - GRDB8,676 Stars
3 shared tag(s) · 2 shared category(s)
use SQLite through Swift records, query interfaces, observation, and migrations
Swift
Report incorrect information
Tell us if any listing information is incorrect or outdated.