✨ A small UIImage extension with gif support

3997
    


来源:
Licence:
联系:
分类:
平台:
环境:
大小:
更新:
标签:
联系方式 :
免费下载 ×

下载APP,支持永久资源免费下载

限免产品服务请联系qq:1585269081

下载APP
免费下载 ×

下载APP,支持永久资源免费下载

下载APP 免费下载
下载 ×

下载APP,资源永久免费


如果出现不能下载的情况,请联系站长,联系方式在下方。

免费下载 ×

下载论文助手APP,资源永久免费

免费获取

如果你已经登录仍然出现不能下载的情况,请【点击刷新】本页面或者联系站长



SwiftGif A small UIImage extension with gif support. Usage // An animated UIImage let jeremyGif = UIImage. gif ( name : " jeremy " ) // A UIImageView with async loading let imageView = UIImageView () imageView. loadGif ( name : " jeremy " ) 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.6.1 end Run pod install to build your dependencies. Carthage Install Carthage with Homebrew using the following command: brew update brew install carthage Add the following line to your Cartfile to add SwiftGif: github "bahlo/SwiftGif" ~> 1.6.1 Run carthage update to build the framework and drag the built SwiftGif.framework into your Xcode project. How does it work? Easy, it does the following: Find out the duration of every frame Find the greatest common divisor Add frames accordingly to the greatest common divisor to an array Create an animated UIImage with the frames Inspiration This project is heavily inspired by uiimage-from-animated-gif . Kudos to @mayoff .

免费下载 ×

下载APP,支持永久资源免费下载

下载APP 免费下载
温馨提示
请用电脑打开本网页,即可以免费获取你想要的了。
扫描加我微信 ×

演示

×
登录 ×


下载 ×
论文助手网
论文助手,最开放的学术期刊平台
				暂无来源信息			 
回复
来来来,吐槽点啥吧

作者联系方式

×

向作者索要->