Powerful image loading system
open sourceMITfree
Nuke is an image loading and caching system for Apple platforms, maintained since 2015. Its core module loads images through an ImagePipeline with memory and disk caching, image processing and decompression, request coalescing and priorities, prefetching, resumable downloads and progressive JPEG decoding, and it handles HEIF, WebP, GIF and animated images. NukeUI adds LazyImage for SwiftUI and LazyImageView and ImageLoader for UIKit and AppKit, and NukeVideo plays short videos. It installs with Swift Package Manager, ships agent skills and llms.txt files for coding agents, and is MIT licensed.
Problems it solves
- load and cache remote images in my SwiftUI app without writing my own cache
- images in my iOS list scroll slowly and reload every time
- show animated GIFs and WebP images in an iOS app
Features
- memory and disk image caching
- image processing and decompression
- request coalescing, priorities and prefetching
- resumable downloads and progressive JPEG decoding
- HEIF, WebP, GIF and animated image support
- LazyImage for SwiftUI and LazyImageView for UIKit and AppKit
- async/await API
- agent skills nuke-optimize and nuke-migrate, installable as a Claude Code plugin
Alternatives
The same job
These do what Nuke 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
- SDWebImage Asynchronous image downloading and caching for iOS, macOS, tvOS, watchOS and visionOS
- AlamofireImage Image downloading, caching and filters for Alamofire
