SkillAgentSearch skills...

Wave

:ocean: Declarative chainable animations in Swift

Install / Use

/learn @onmyway133/Wave
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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
<div align = "center"> <img src="Screenshots/wave.gif" width="300" /> <br /> </div>

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

  • https://www.swiftbysundell.com/posts/building-a-declarative-animation-framework-in-swift-part-1

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.

Related Skills

View on GitHub
GitHub Stars128
CategoryDevelopment
Updated1y ago
Forks9

Languages

Swift

Security Score

70/100

Audited on Jul 23, 2024

No findings