Skip to content
FLAnimatedImage plugin for Nuke
Branch: master
Clone or download
Latest commit d847c4f Apr 8, 2019

README.md

FLAnimatedImage plugin for Nuke that allows you to load and display animated GIFs with smooth scrolling performance and low memory footprint. You can see it for yourself in a demo, included in the project.

Usage

All you need to do to enable GIF support is set isAnimatedImageDataEnabled to true. After you do that, you can start using FLAnimatedImageView.

ImagePipeline.Configuration.isAnimatedImageDataEnabled = true

let view = FLAnimatedImageView()
Nuke.loadImage(with: URL(string: "http://.../cat.gif")!, into: view)

Installation

Manually

The entire plugin is a single file with 23 lines of code which you can just copy into your project without having to deal with extra framework dependencies.

CocoaPods

To install the plugin add a dependency to your Podfile:

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

pod "Nuke-FLAnimatedImage-Plugin"

Carthage

To install the plugin add a dependency to your Cartfile:

github "kean/Nuke-FLAnimatedImage-Plugin"

Minimum Requirements

Nuke FLAnimatedImage Plugin Swift Xcode Platforms
Nuke FLAnimatedImage Plugin 6.1 Swift 4.2 – 5.0 Xcode 10.1 – 10.2 iOS 10.0
Nuke FLAnimatedImage Plugin 6.0 Swift 4.0 – 4.2 Xcode 9.2 – 10.1 iOS 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.