Giter Club home page Giter Club logo

cheetah's People

Contributors

dekatotoro avatar kyoheig3 avatar rjyo avatar suguru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cheetah's Issues

Spring and Completion closure

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!

How to group animations?

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.

Add badges

Hi
Below the title please add badges for carthage compatibility, pod version, Swift version, license and platform like this:
Carthage compatible Pod Version Swift Version License MIT Plaforms

Extend CheetahProperty

Hi,
is it really possible to create our own CheetahProperty ?
Because i have a lot of accessibilities errors

screen shot 2017-05-01 at 1 06 10 pm

screen shot 2017-05-01 at 1 06 16 pm

Thanks

Can not import the library

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 ?

closure?

Hi,

I love Cheetah and was wondering if there was a way to execute code right after an animation has finished?

Many thanks

Raphael

Keep transform matrix after finishing CheetahProperty

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.

Cannot start new animation on completion

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()
            }
    }

Memory management

For some reason, when I use cheetah to handle animation, the memory used builds up each time I call cheetah.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.