Skip to content
Alamofire plugin for Nuke
Branch: master
Clone or download
Latest commit e759da1 Apr 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Nuke-Alamofire-Plugin.xcodeproj Add Swift 5 support Apr 7, 2019
Source Version 4.2 Apr 7, 2019
Supporting Files
.gitignore Update to Swift 4.1 Apr 5, 2018
CHANGELOG.md Add Swift 5 support Apr 7, 2019
Cartfile Version 4.0 May 10, 2018
LICENSE Update Mar 4, 2016
Nuke-Alamofire-Plugin.podspec Add Swift 5 support Apr 7, 2019
README.md Swift to a consolidated framework target Apr 7, 2019

README.md

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.SessionManager for networking.

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

ImagePipeline.shared = pipeline

Installation

CocoaPods

To install plugin add a dependency to your Podfile:

# source 'https://github.com/CocoaPods/Specs.git'
# use_frameworks!
# platform :ios, "10.0" / :watchos, "3.0" / :osx, "10.12" / :tvos, "10.0"

pod "Nuke-Alamofire-Plugin"

Carthage

To install plugin add a dependency to your Cartfile:

github "kean/Nuke-Alamofire-Plugin"

Minimum Requirements

Nuke Alamofire Plugin Swift Xcode Platforms
Nuke Alamofire Plugin 4.2 Swift 4.2 – 5.0 Xcode 10.1 – 10.2 iOS 10.0 / macOS 10.12 / watchOS 3.0 / tvOS 10.0
Nuke Alamofire Plugin 4.1 Swift 4.0 – 4.2 Xcode 9.2 – 10.1 iOS 9.0 / macOS 10.11 / watchOS 2.0 / tvOS 9.0

Dependencies

License

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

You can’t perform that action at this time.