Giter Site home page Giter Site logo

nuke-flanimatedimage-plugin's Introduction

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.

To install the plugin add a dependency to your Podfile:

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

pod "Nuke-FLAnimatedImage-Plugin"

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.

nuke-flanimatedimage-plugin's People

Contributors

kean avatar kambala-decapitator avatar semty avatar

Forkers

dsunny90

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.