suguru / cheetah Goto Github PK
View Code? Open in Web Editor NEWEasy animation library on iOS with Swift2
License: MIT License
Easy animation library on iOS with Swift2
License: MIT License
For some reason, when I use cheetah to handle animation, the memory used builds up each time I call cheetah.
Transform properties are calculated every frame. Currently, CheetahProperty disposed when finished its duration. It causes resetting transformed variables during animating multiple properties which has different durations. Cheetah should keep transform matrix after finished when matrix does not equal to identity matrix.
Hi,
It's will be great to create a Swift 3 version of your component
Article about Swift 3:
With Swift 3 it would also be nice to add support for SwiftPM
Articles about SwiftPM:
On your README.md
add on top and add section for the installation with SwiftPM.
Hello Guys,
I would like to setup animations for different views, and trigger them combined at different times.
I.e:
let anim1 = view1.cheetah.scale(0)
let anim2 = view2.cheetah.alpha(0)
let anim3 = view3.cheetah.move(10,10)
// then do
[anim1, anim2].run()
// or
[anim3, anim1].run()
Is there a way to accomplish that? Ideally I would also like to have a single completion blocked called when all of them are done (which may have different durations).
Thanks,
H.
Hi,
I love Cheetah and was wondering if there was a way to execute code right after an animation has finished?
Many thanks
Raphael
I want to be able to do a 3 - 2 - 1 countdown animation on a view which has a label inside. However it does not work. I have been trying to figure out why but believe its to do with something not being reset after first animation sequence. Here is my code.
countinView.cheetah
.scale(2).duration(0.3)
.wait(0.4)
.scale(0).duration(0.3)
.rotate(Double.pi*2).duration(0.3)
.alpha(0).duration(0.3)
.run()
.completion {
self.countInValue = self.countInValue - 1
if self.countInValue > 0 {
self.showCountInLabel()
} else {
self.timerBarStartTimer()
}
}
Hi guys,
I am using Carthage to import your library but I received this message:
*** Checking out Cheetah at "0.2.6"
*** xcodebuild output can be found in /var/folders/d7/tmh15dlx1fj4vqz0sqwrk6knmz_k04/T/carthage-xcodebuild.TasAd5.log
xcodebuild timed out while trying to read CheetahExample.xcodeproj ๐ญ
And nothing was imported in Build/tvOS folder
Any idea ?
Hi,
I've looked at your podspec file and correct me if I'm wrong but version 0.2.6 is in fact 0.3.0?
It looks like there is a race condition of some sort going on with spring() and calling completion(). Everything works fine with any of the other animation methods, however spring does not call completion when running. However, if I debug the CheetahProperties procede function by placing a breakpoint on the check to see if spring has ended, completion will be called - seems like something is getting ahead of itself... I'll try to debug further soon!
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.