
Classification: SwiftGif
Platform: IOS
Language: Swift
Language: Swift
Device:
iPhone / iPad
Licence: MIT
Licence: MIT
Download
Installation
CocoaPods
Install CocoaPods with the following command:
gem install cocoapods
Integrate SwiftGif into your Xcode project by creating a Podfile:
platform :ios, '9.0'
use_frameworks!
target '' do
pod 'SwiftGifOrigin', '~> 1.7.0'
end
Run pod install to build your dependencies.
Install CocoaPods with the following command:
gem install cocoapods
Integrate SwiftGif into your Xcode project by creating a
Podfile:platform :ios, '9.0'
use_frameworks!
target '' do
pod 'SwiftGifOrigin', '~> 1.7.0'
end
Run
pod install to build your dependencies.Carthage
Usage
import SwiftGifOrigin
// An animated UIImage
let jeremyGif = UIImage.gif(name: "jeremy")
// A UIImageView with async loading
let imageView = UIImageView()
imageView.loadGif(name: "jeremy")
// A UIImageView with async loading from asset catalog(from iOS9)
let imageView = UIImageView()
imageView.loadGif(asset: "jeremy")
import SwiftGifOrigin
// An animated UIImage
let jeremyGif = UIImage.gif(name: "jeremy")
// A UIImageView with async loading
let imageView = UIImageView()
imageView.loadGif(name: "jeremy")
// A UIImageView with async loading from asset catalog(from iOS9)
let imageView = UIImageView()
imageView.loadGif(asset: "jeremy")
