FLAnimatedImage plugin for Nuke that allows you to load and display animated GIFs.
AnimatedImageDecodercreatesAnimatedImagesfrom received dataAnimatedImageLoaderDelegatepreventsImageLoaderfrom processingAnimatedImagesAnimatedImageMemoryCachecalculates proper cost for animated images, can also be used to disable animated images storage all together
let 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 playbackSee Nuke for installation instructions.
- iOS 8.0+
- Xcode 7.3+, Swift 2.2+
Nuke is available under the MIT license. See the LICENSE file for more info.
