Nuke-FLAnimatedImage-Plugin 7.1.0

Nuke-FLAnimatedImage-Plugin 7.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2020
SPMSupports SPM

Maintained by kean.



 
Depends on:
Nuke~> 9.0
FLAnimatedImage~> 1.0
 

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 7.0 Swift 5.1 Xcode 11.0 iOS 11.0
Nuke FLAnimatedImage Plugin 6.2 Swift 5.0 Xcode 10.2 iOS 10.0
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.