SwingAnimation is a framework allows you to apply smooth animations in widgets.
content
.swingAnimation(duration: 4, direction: .horizontal, distance: 280)
.swingAnimation(duration: 1, direction: .vertical, distance: 60)
- iOS 14.0+
- Swift 5.8+
dependencies: [
.package(url: "https://github.com/TopWidgets/SwingAnimation.git", .upToNextMajor(from: "1.0.0"))
]
SwingAnimation is available under the MIT license. See the LICENSE file for more info.