Latest 4.2
Homepage https://github.com/kean/Nuke-Alamofire-Plugin
License MIT
Platforms ios 10.0, watchos 3.0, osx 10.12, tvos 10.0
Dependencies Nuke, Alamofire

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.

Latest podspec

{
    "name": "Nuke-Alamofire-Plugin",
    "version": "4.2",
    "summary": "Alamofire plugin for Nuke - image loading and caching framework",
    "homepage": "https://github.com/kean/Nuke-Alamofire-Plugin",
    "license": "MIT",
    "authors": "Alexander Grebenyuk",
    "source": {
        "git": "https://github.com/kean/Nuke-Alamofire-Plugin.git",
        "tag": "4.2"
    },
    "social_media_url": "https://twitter.com/a_grebenyuk",
    "platforms": {
        "ios": "10.0",
        "watchos": "3.0",
        "osx": "10.12",
        "tvos": "10.0"
    },
    "module_name": "NukeAlamofirePlugin",
    "dependencies": {
        "Nuke": [
            "~> 7.0"
        ],
        "Alamofire": [
            "~> 4.0"
        ]
    },
    "source_files": "Source/**/*"
}

Pin It on Pinterest

Share This