Code
Nuke – Image loading system

Nuke provides an efficient way to download and display images in your app. It’s easy to learn and use. Its architecture enables many powerful features while offering virtually unlimited possibilities for customization.
The framework is lean and compiles in under 2 seconds¹. Nuke has an automated test suite 2x the size of the codebase itself, ensuring excellent reliability. Every feature is carefully designed and optimized for performance.
Nuke features
- Fast LRU memory and disk cache
- SwiftUI
- Smart background decompression
- Image processing
- Resumable downloads
- Intelligent deduplication
- Request prioritization
- Prefetching
- Rate limiting
- Progressive JPEG, HEIF, WebP, SVG, GIF
- Alamofire
- Combine
- Async/Await
Nuke documentation
Nuke is easy to learn and use thanks to documentation generated using DocC: Nuke, NukeUI, NukeExtensions. Make sure to also check out Nuke Demo.
Nuke extensions
The image pipeline is easy to customize and extend. Check out the following first-class extensions and packages built by the community.
Name | Description |
---|---|
Pulse | A network logging framework with easy integration |
Alamofire Plugin | Replace networking layer with Alamofire |
NukeWebP | Community. WebP support, built by Maxim Kolesnik |
WebP Plugin | Community. WebP support, built by Ryo Kosuge |
AVIF Plugin | Community. AVIF support, built by Denis |
RxNuke | RxSwift extensions for Nuke with examples |
Dependencies
NukeUI uses Gifu to display GIFs. The library is embedded in the NukeUI source code and is kept private.
