/Nuke-Gifu-Plugin

Gifu plugin for Nuke

Primary LanguageSwiftMIT LicenseMIT

Nuke Gifu Plugin

Gifu plugin for Nuke that allows you to load and display animated GIFs. You can see it for yourself in a demo, included in the project.

Usage

The plugin features a pre-configured Nuke.Manager with GIF support, and an AnimatedImageView:

let view = AnimatedImageView()
view.prepareForReuse()
AnimatedImage.manager.loadImage(with: URL(string: "http://...")!, into: view)

Installation

CocoaPods

To install the plugin add a dependency to your Podfile:

# source 'https://github.com/CocoaPods/Specs.git'
# use_frameworks!

pod "Nuke-Gifu-Plugin"

Carthage

To install the plugin add a dependency to your Cartfile:

github "kean/Nuke-Gifu-Plugin"

Requirements

  • iOS 9
  • Xcode 8
  • Swift 3

Dependencies

License

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