TopWidgets
SwingAnimation
Swift

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

Last updated Jun 22, 2026
902
Stars
113
Forks
7
Issues
0
Stars/day
Attention Score
58
Language breakdown
Swift 100.0%
Files click to expand
README

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.

© 2026 GitRepoTrend · TopWidgets/SwingAnimation · Updated daily from GitHub