🌊 Declarative chainable animations in Swift
Swift Shell Objective-C Ruby
Switch branches/tags
Nothing to show
Clone or download
Latest commit 16e918b Jul 31, 2017

README.md

Wave

Declarative chainable animations in Swift

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, onmyway133@gmail.com

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.