Comments (12)
I started working on compatibility here but it's still not updated to the final release yet: https://github.com/kaishin/Gifu/tree/swift3 I will try to tackle this this week and finalize the release.
from gifu.
any update when we can get update for swift 3.0
from gifu.
There is still warnings and errors on my project. For example Animator.swift has error on 42. line
from gifu.
What time support swift3?
from gifu.
@run4jit The swift3 branch now works with release Swift 3 so feel free to use it for now until the API is finalised. Currently testing performance and memory leaks + backward compatibility.
from gifu.
Everything seems to be working fine so far on device. Simulator throws some warnings and has some frame issues but I am not worried about that. Tested on a 2013 iPod touch and worked like a charm.
Next is going to be several API changes to make using the library easier and more flexible.
from gifu.
Actually i passed that errors but gifs are very speedy, how can i slow them? I have 2 frame gifs
from gifu.
@xkenpachi If you are still getting errors under 3.0 please let me know. I have fixed all of them as far as I am concerned.
Slowing GIFs is not supported and will not be in the forseeable future. If you have control over the GIF, do that when you export it.
from gifu.
@kaishin errors solved, thanks. In swift 2.2 gifs are worked perfectly, i don't think its about gifs because they working normal any html explorer or in finder preview or in xcode preview.
from gifu.
I am not sure if I did all rights. But it trows an error and says that method does not override anything
/// Updates the `image` property of the image view if necessary. This method should not be called manually.
override open func displayLayer(_ layer: CALayer) {
image = animator?.currentFrameImage ?? image
}
from gifu.
@matrosovDev you just need the to do like this:
override open func display(_ layer: CALayer) {
image = animator?.currentFrameImage ?? image
}
"displayLayer" name is changed to "display"
from gifu.
Swift 3 support is now merged into master
.
from gifu.
Related Issues (20)
- GIFs without Duration-Info play too fast HOT 2
- iOS 14 GIFAnimatable UIKit extension doesn't play GIF HOT 24
- SwiftPM Package Resolution Failed for v3.3 HOT 7
- Gifu.h is unneeded
- Compatibility with objc
- Value of type 'GIFImageView' has no member 'animatedFrames'
- In the app, GIF quality degraded, but correct in the Google drive with same file(size) HOT 1
- Index out of range HOT 1
- Static GIF Image not show properly HOT 1
- Support other image formats HOT 1
- Gifu animate method not displaying gif HOT 1
- Spurious console logs related to zero-sized imaging HOT 1
- Version number is wrong in ppdspec file for 3.4 release HOT 2
- Not working HOT 1
- Not able to update to latest version 3.4.1
- How to get framework using Tuist?
- Improve how Gifu uses system resources HOT 2
- loopDuration is inaccessible in Animator object HOT 1
- Xcode does not support version format like `v3.4.1` HOT 1
- UIGraphicsBeginImageContextWithOptions crash when size is zero in iOS 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gifu.