Awesome Open Source
Awesome Open Source

Wave

Declarative chainable animations in Swift ❤️ Support my apps ❤️

❤️❤️😇😍🤘❤️❤️

CI Status Version Carthage Compatible License Platform

Features

  • Declarative
  • Run animations in sequence
  • Run animations in parallel
  • Support UIView and Core Animation animations
  • Extensible

Usage

view.run(.sequence([
  .fadeIn(),
  .fadeOut(),
  .parallel([
    .wait(0.5),
    .squeeze()
    .sequence([
      .shake(),
      .log("Has just been shaked")
      .flipX()
    ]),
    .morph()
  ])
]))

Installation

Wave is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Wave'

Wave is also available through Carthage. To install just write into your Cartfile:

github "onmyway133/Wave"

Author

Khoa Pham, [email protected]

Credit

Contributing

We would love you to contribute to Wave, check the CONTRIBUTING file for more info.

License

Wave is available under the MIT license. See the LICENSE file for more info.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
swift (7,761) 
ios (3,619) 
animation (1,059) 
declarative (78) 
chain (26)