Cheetah alternatives and similar libraries
Based on the "Animation" category.
Alternatively, view Cheetah alternatives based on common mentions on social networks and blogs.
10.0 5.0 L3 Cheetah VS lottie-iosAn iOS library to natively render After Effects vector animations
9.8 1.5 L3 Cheetah VS IBAnimatableDesign and prototype customized UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable.
9.0 0.0 L5 Cheetah VS Presentation:bookmark_tabs: Presentation helps you to make tutorials, release notes and animated pages.
8.2 0.0 Cheetah VS Fluid Slider:octocat:💧 A slider widget with a popup bubble displaying the precise value selected. Swift UI library made by @Ramotion
7.1 0.0 Cheetah VS Sica:deer: Simple Interface Core Animation. Run type-safe animation sequencially or parallelly
5.8 0.0 Cheetah VS navigation-toolbar:octocat: Navigation toolbar is a slide-modeled UI navigation controller made by @Ramotion
5.6 0.0 Cheetah VS Garland View:octocat: ≡ GarlandView seamlessly transitions between multiple lists of content. Swift UI library made by @Ramotion
5.6 0.0 Cheetah VS CAROUSELList a collection of items in a horizontally scrolling view. A scaling factor controls the size of the items relative to the center.
5.1 0.0 L5 Cheetah VS DSGradientProgressViewA simple animated progress bar in Swift
0.6 5.0 Cheetah VS Numbers AnimationNumbers animation allows you to click on different numbers and accordingly it will animate numbers in a cool way. It has a very attractive UI and is very easy to use.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Cheetah or a related project?
Cheetah is an animation utility on iOS with Swift. Cheetah can animate any properties since Cheetah uses simple CADisplayLink run loop to change animated properties.
- iOS 8.0~
- tvOS 9.0~
- Swift 3.0
- Animation with duration and delay
- Changing with absolute/relative properties
- Parallel/Serial executions
Carthage is a simple, decentralized dependency manager for Cocoa.
To install Cheetah, simply add the following line to your Cartfile:
// Create view let box = UIView(frame:CGRectMake(100,100,50,50)) box.backgroundColor = UIColor.blueColor() view.addSubview(box) // Move to 100px right box.cheetah.move(100, 0).run()
Cheetah has several methods to animate properties easily. You can also animate your own properties with extending CheetahProperty.
- position (absolute of move)
- rotation (absolute of rotate)
- custom properties
Cheetah groups animation properties and execute them at once.
view.cheetah .move(100, 0) .rotate(M_PI * 2) .scale(1.5) .run()
wait will wait until all animations placed before it completed.
It can also receive seconds to wait to start next animation.
view.cheetah .move(100, 0).rotate(M_PI) .wait() .move(-100, 0).rotate(-M_PI) .wait(1.0) // <- wait 1 sec to start next animation .move(0, -20).duration(0.4) .wait() .move(0, 20).duration(0.4) .run()
Duration and delay
Cheetah has duration and delay to each animation properties.
view.cheetah .move(100, 0).duration(1.0).delay(1.0) .rotate(M_PI).duration(2.0) .wait(1) .move(-100, 0).duration(0.4) .run()
Duration will be copied from the property placed before.
view.cheetah .duration(0.5) .move(100, 0) // <- will have 0.5 sec duration .rotate(M_PI) // <- will have 0.5 sec duration .run()
To repeat animations, use
To repeat forever, use
Cheetah supports various easing functions. You can also add custom easings with quad bezier points.
Supported eassing equations
Cheetah supports spring dynamics with tension and friction parameters.
view.cheetah .move(200, 0) .spring() .run() view.cheetah .move(200, 0) .spring(tension: 100, friction: 4) .run()
Animate custom properties
You can extend CheetahProperty to animate custom properties. You can refer CheetahViewProperties.swift and CheetahLayerProperties.swift.
*Note that all licence references and agreements mentioned in the Cheetah README section above are relevant to that project's source code only.