Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/TopWidgets/SwingAnimation

小组件平移动画 | Widget on the Move, A Playful Animation
https://github.com/TopWidgets/SwingAnimation

animation ios swift topwidgets widgetkit

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# SwingAnimation
[![SPM](https://img.shields.io/badge/SPM-supported-DE5C43.svg?style=flat)](https://swift.org/package-manager/)
![CI](https://github.com/TopWidgets/SwingAnimation/actions/workflows/push.yml/badge.svg)

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

## Example

![Demo](./Demo.gif)

```swift
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

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

## Try our App

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=TopWidgets/SwingAnimation&type=Date)](https://star-history.com/#TopWidgets/SwingAnimation&Date)

## License

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