Cheetah icon indicating copy to clipboard operation
Cheetah copied to clipboard

closure?

Open RaphArbuz opened this issue 8 years ago • 3 comments

Hi,

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

Many thanks

Raphael

RaphArbuz avatar Apr 10 '16 13:04 RaphArbuz

I'm not sure when you did post this but now Cheetah type have completion() method. I believe that is what you looking for.

icanswiftabit avatar Jun 23 '16 19:06 icanswiftabit

@RaphArbuz

image.cheetah
    .move(100,0)
    .run()
.completion {
         //do something
}

craigpearce5 avatar Jun 30 '16 21:06 craigpearce5

would be nice if this was added to the readme docs

martnst avatar Feb 21 '17 17:02 martnst