Swiftpack.co -  kean/ImageTaskBuilder as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A fun and convenient way to use Nuke
.package(url: "https://github.com/kean/ImageTaskBuilder.git", from: "0.8.0")


A fun and convenient way to use Nuke.

See API Reference for a complete list of available options.


Downloading an image and applying processors.

ImagePipeline.shared.image(with: URL(string: "https://")!)
    .resize(width: 320)
    .blur(radius: 10)
    .load { result in
// Returns a discardable `ImageTask`.

You can take the same image that you described previously and automatically display in a view.

let image = ImagePipeline.shared.image(with: URL(string: "https://")!)
    .resize(width: 320)
    .blur(radius: 10)
let imageView: UIImageView

image.display(in: imageView)
    .transition(.fadeIn(duration: 0.33))
    .contentMode(.center, for: .placeholder)

When you call display(in:) method you get access to a variety of new options specific to the image view.


Nuke Swift Xcode Platforms
Nuke 8.0 Swift 5.0 Xcode 10.2 iOS 10.0 / watchOS 3.0 / macOS 10.12 / tvOS 10.0


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


Stars: 10
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.


Release Notes

ImageTaskBuilder 0.8.0
2 weeks ago
  • Add ImageRequest.CachePolicy support
  • Update to Nuke 9.2.0

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