Swiftpack.co - kean/Nuke as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by kean.
kean/Nuke 11.0.0-beta.3
Image loading system
猸愶笍 6,727
馃晸 5 days ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/kean/Nuke.git", from: "11.0.0-beta.3")

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.

Fast LRU memory and disk cacheSwiftUISmart background decompressionImage processingResumable downloadsIntelligent deduplicationRequest prioritizationPrefetchingRate limitingProgressive JPEG, HEIF, WebP, SVG, GIFAlamofireCombineAsync/Await

Sponsors 馃挅

Stream Logo Stream Logo

Nuke is proudly sponsored by Stream, the leading provider in enterprise grade Feed & Chat APIs.

Support Nuke on GitHub Sponsors.

Documentation

Nuke is easy to learn and use thanks to Nuke Docs. Make sure to also check out Nuke Demo.

Upgrading from the previous version? Use a Migration Guide. Switching from another framework? Use a Switching Guide.

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
NukeUI Lazy image loading for SwiftUI
NukeBuilder A fun and convenient way to use Nuke
Alamofire Plugin Replace networking layer with Alamofire
RxNuke RxSwift extensions for Nuke with examples
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
Gifu Plugin Use Gifu to load and display animated GIFs
FLAnimatedImage Plugin Use FLAnimatedImage to load and display animated GIFs
Xamarin NuGet Community. Makes it possible to use Nuke from Xamarin

Contribution

Nuke's roadmap is managed in Trello and is publicly available.

Minimum Requirements

Nuke Swift Xcode Platforms
Nuke 10.0 Swift 5.3 Xcode 12.0 iOS 11.0, watchOS 4.0, macOS 10.13, tvOS 11.0
Nuke 9.0 Swift 5.1 Xcode 11.0 iOS 11.0, watchOS 4.0, macOS 10.13, tvOS 11.0

See Installation Guide for information about the older versions.

License

Nuke is available under the MIT license. See the LICENSE file for more info.


鹿 Measured on MacBook Pro 14" 2021 (10-core M1 Pro)

GitHub

link
Stars: 6727
Last commit: 17 minutes ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Nuke 11.0 (Beta 3)
5 days ago
  • Docs completely rewriting using DocC and hosted on GitHub: Nuke, NukeUI, NukeExtensions
  • Deprecate ImageCaching extension that works with ImageRequest
  • Make ImageCacheKey initializer with ImageRequest public
  • Add static method ImageProcessing.custom(id:closure:) for creating custom processors
  • Make ImagePipeline.Cache Sendable
  • Add ImageResponse typealias to NukeUI
  • Use new ImageTask.Progress in NukeUI
  • When pipeline is invalidated, it now throws a new .pipelineInvalidated error for new requests

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics