Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agilie/AGInterfaceInteraction
library performs interaction with UI interface
https://github.com/agilie/AGInterfaceInteraction
gravity gyroscope interfaces rotation shake-detection
Last synced: 3 months ago
JSON representation
library performs interaction with UI interface
- Host: GitHub
- URL: https://github.com/agilie/AGInterfaceInteraction
- Owner: agilie
- License: mit
- Created: 2017-06-26T08:14:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-20T15:12:40.000Z (over 7 years ago)
- Last Synced: 2024-08-02T20:46:53.929Z (3 months ago)
- Topics: gravity, gyroscope, interfaces, rotation, shake-detection
- Language: Swift
- Size: 1010 KB
- Stars: 156
- Watchers: 11
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - AGInterfaceInteraction - library performs interaction with UI interface. (UI / Animation)
- awesome-ios-star - AGInterfaceInteraction - library performs interaction with UI interface. (UI / Animation)
README
### StartGravity:
[Agilie Team](https://agilie.com/en/ios-development-services) would like to offer you our new
lightweight open-source library called AGInterfaceInteraction.Our library with the new interesting animation: capturing any interface (screen or view) and
throws its UI elements over under the influence of gravity, so that one can move them from side
to side obliquely. By default, the animation lasts for about 3-4 seconds, but you can adjust
its duration at your discretion. After the animation has been completed, all the UI elements returns to their original location.(Note: We are working with native UI elements (UILabel, UIButton, UIImageView, UISwitch,
UISlider, UITExtField, UIProgressView, UITableView/UICollectionView). If listed UI elements
embedded in UIView or UIScrollView, library picks it up and animates it separately. We keep on
working to handle most intricate interface.)This animations can be easily used during the development of any application as an event activated after a specified user action.
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Usage
StartGravity:
After we choose a way to initiate animation, just provide view and duration as parameters call the method startGravityView(view: duration: collisionMode:)
````swift
@IBAction startButtonDidTouch(_ sender: Any) {
self.agGravityService.startGravityView(view: self.view, duration: 10, collisionMode: .everything)
}````
## Installation
AGInterfaceInteraction is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod "AGInterfaceInteraction"
```## Author
This library is open-sourced by [Agilie Team](https://www.agilie.com?utm_source=github&utm_medium=referral&utm_campaign=Git_Swift&utm_term=AGInterfaceInteraction) [email protected]
## Contributors
[Michael Liptuga](https://github.com/Liptuga-Michael) -
## Contact us
## License
The [MIT](LICENSE.MD) License (MIT) Copyright © 2017 [Agilie Team](https://www.agilie.com?utm_source=github&utm_medium=referral&utm_campaign=Git_Swift&utm_term=AGInterfaceInteraction)