TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Mar 2016 |
SPMSupports SPM | ✗ |
Maintained by kean.
Depends on: | |
Nuke | ~> 3.0 |
FLAnimatedImage | ~> 1.0 |
FLAnimatedImage plugin for Nuke that allows you to load and display animated GIFs.
AnimatedImageDecoder
creates AnimatedImages
from received dataAnimatedImageLoaderDelegate
prevents ImageLoader
from processing AnimatedImages
AnimatedImageMemoryCache
calculates proper cost for animated images, can also be used to disable animated images storage all togetherlet decoder = ImageDecoderComposition(decoders: [AnimatedImageDecoder(), ImageDecoder()])
let loader = ImageLoader(configuration: ImageLoaderConfiguration(dataLoader: <#dataLoader#>, decoder: decoder), delegate: AnimatedImageLoaderDelegate())
let cache = AnimatedImageMemoryCache()
ImageManager.shared = ImageManager(configuration: ImageManagerConfiguration(loader: loader, cache: cache))
Nuke adds full-featured image loading extension to FLAnimatedImageView
let imageView = FLAnimatedImageView()
imageView.nk_setImageWith(<#imageRequest#>) // Loads animated image and starts playback
See Nuke for installation instructions.
Nuke is available under the MIT license. See the LICENSE file for more info.