/SwingAnimation

小组件平移动画 | Widget on the Move, A Playful Animation

Primary LanguageSwiftMIT LicenseMIT

SwingAnimation

SPM CI

SwingAnimation is a framework allows you to apply smooth animations in widgets.

Example

Demo

content
    .swingAnimation(duration: 4, direction: .horizontal, distance: 280)
    .swingAnimation(duration: 1, direction: .vertical, distance: 60)

Requirements

  • iOS 14.0+
  • Swift 5.8+

Installation

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/TopWidgets/SwingAnimation.git", .upToNextMajor(from: "1.0.0"))
]

Try our App

Star History

Star History Chart

License

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