Coder Social home page Coder Social logo

wave's Introduction

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.

wave's People

Contributors

onmyway133 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

wave's Issues

Manual Installation

CocoaPods and Carthage are awesome tools and make our life really easier, but there are some devs who still don't know how to use them.

It would be cool to add the Manual installation guide in your README.md. You can take a look at my iOS Readme Template to see how you can do it.

More actions?

  • UIKit Dynamic
  • Core Text
  • Core Graphics
  • Replicator layer?
  • Shape layer?

Better handling for Wait

For now Wait uses GCD, which does not participate in UIView flow, when user calls the animations multiple time, it should clear the that delay timer

Wanted to use UIView animation with delay, but emptying or animating a view not in window hierarchy makes UIView animation completes right away

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.