yfme / uiimageview-playgif Goto Github PK
View Code? Open in Web Editor NEWUIImageView category/subclass for playing GIF. Simple, high performance, low memory footprint.
License: MIT License
UIImageView category/subclass for playing GIF. Simple, high performance, low memory footprint.
License: MIT License
请问有邮箱吗,有些问题想要具体请教
Hello,
Can we load GIF from server URL?
Thanks in advance.
Vishal
how to use in swift
可否提供一个接口playOnce,就是只播放一遍gif就停止,现在的接口是无限循环播放
@yfme
Hi!
请问为什么播放gif文件会有延迟的情况呢?我看了您会获取delayTime的逻辑,如果手动设置固定值,这样是可以的,如果gif有一些故意加快了,但是却被固定了大小,这样就失去gif原本的效果,有好的解决方案吗?
Jack
What do you want to do by calling this code? In my case I have already defined "play" method in other classes and now your library isn't even compiled
Can you create the 1.0.5 tag (or change the podspec to say 1.0.3) and push an update to cocoapods?
When I use imageView to play GIF, the speed is too slow.
This code influence:
if (self.timestamp.floatValue < nextFrameDuration) {
self.timestamp = [NSNumber numberWithFloat:self.timestamp.floatValue+[PlayGIFManager shared].displayLink.duration];
return;
}
IF I Comment this code, the speed is faster. I guess the Duration is Wrong.
How can I fix it??
Thanks.
我看到,读取本地GIF滑动是不会卡顿的。当滑动的时候你做了停止GIF的处理,这很好!大大降低了卡顿,但是一旦使用的网络GIF图片,那么滑动势必需要下载。这样导致没下载完成的图片会卡顿。能否解决这种问题呢?
Hi, @yfme ,我在使用PlayGIF的时候会看到load方法中swizzle了removeFromSuperview,希望在stopGIF调用时,加一个判断,判断当前UIImageView是否是isGIFPlaying
UIImageView+PlayGIF.m 268行
if (dictRef) {
CFRelease(dictRef);
}
Hi! @yfme
Jack
A plurality of different GIF, slide UICollectionView squares, you will find gif dislocation problem, I do not know how to solve
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.