Latest 0.0.2
Homepage https://github.com/MQZHot/ZGIFImage
License MIT
Platforms ios 8.0, requires ARC
Authors

ZGIFImage

image image image

Load gif by gif name or Data or URL

image

How To

/// example 01
let staticImage = ZGIFImage.image(name: "pic.gif")
topImageView.image = staticImage
/// example 02
let gifImage = ZGIFImage.gif(name: "pic")
imageView.image = gifImage
/// example 03
if let url = URL(string: "http://xxxx.gif") {
    let urlImage = ZGIFImage.image(url: url)
    bottomImageView.image = urlImage
}

Install

  • 1.pod ‘ZGIFImage’
  • 2.pod install / pod update

Latest podspec

{
    "name": "ZGIFImage",
    "version": "0.0.2",
    "summary": "Load gif by gif name or Data or URL",
    "homepage": "https://github.com/MQZHot/ZGIFImage",
    "authors": {
        "mqz": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/MQZHot/ZGIFImage.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "ZGIFImage/ZGIFImage",
        "ZGIFImage/ZGIFImage/*.{swift}"
    ],
    "requires_arc": true,
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This