Skip to content

kean/Nuke-Alamofire-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuke Alamofire Plugin

Alamofire plugin for Nuke that allows you to use Alamofire for networking.

Usage

The plugin adds a DataLoader class that uses Alamofire.Session for networking.

let pipeline = ImagePipeline {
    $0.dataLoader = NukeAlamofirePlugin.AlamofireDataLoader()
    $0.imageCache = ImageCache.shared
}

ImagePipeline.shared = pipeline

Installation

Please use Swift Package Manager to install it.

Minimum Requirements

Nuke Alamofire Plugin Swift Xcode Platforms
Nuke Alamofire Plugin 8.0 Swift 5.6 Xcode 13.3 iOS 13.0, watchOS 6.0, macOS 10.15, tvOS 13.0
Nuke Alamofire Plugin 7.0 Swift 5.6 Xcode 13.3 iOS 13.0, watchOS 6.0, macOS 10.15, tvOS 13.0
Nuke Alamofire Plugin 6.1 Swift 5.3 Xcode 12.0 iOS 12.0, watchOS 5.0, macOS 10.14, tvOS 12.0

Dependencies

License

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