RepositorySwiftUAUkraine
agilie

agilie/AGInterfaceInteraction

library performs interaction with UI interface

157stars
6forks
1issues
1views

AGInterfaceInteraction

Made by Agilie CI Status Version License Platform

StartGravity:

Everything Boundaries Fine intergace

Agilie Team 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:)


@IBAction startButtonDidTouch(_ sender: Any) {
self.agGravityService.startGravityView(view: self.view, duration: 10, collisionMode: .everything)
}

Installation

AGInterfaceInteraction is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AGInterfaceInteraction"

Author

This library is open-sourced by Agilie Team info@agilie.com

Contributors

Michael Liptuga - michael.liptuga@agilie.com

Contact us

ios@agilie.com

License

The MIT License (MIT) Copyright © 2017 Agilie Team

Similar Projects

Discover other similar projects and AI models.

RepositorySwift
maustinstar/shiny

Shiny uses your gyroscope to simulate lighting and motion effects on colors. Works on almost every SwiftUI View.

1.1k
Jul 12, 2024
RepositorySwift
yemcube/lidtap

Tap your MacBook lid: turn the display's edges into buttons using the built-in motion sensor. No extra hardware. macOS menu bar app.

245
Nov 5, 2026
RepositorySwift
degtiarev/MotionCollector

iOS app for collecting data from internal motion sensors (gyroscope, magnetometer, accelerometer) of iPhone and Apple Watch.

110
Apr 20, 2023
RepositorySwift
maximbilan/iOS-CoreMotion-Example

Core Motion in iOS using Swift

105
Sep 22, 2018
RepositorySwift
mttfntn/one-finger-rotation-swiftui

A SwiftUI modifier that lets people rotate any view with one finger, with optional limits for knobs, inertia, auto-rotation and snapping.

60
Nov 27, 2026
RepositoryPython
zauberzeug/nicegui

Create web-based user interfaces with Python. The nice way.

16.4k
Nov 30, 2026
RepositoryJava
Yalantis/uCrop

Image Cropping Library for Android

12.1k
Aug 7, 2025
RepositoryRust
gyroflow/gyroflow

Video stabilization using gyroscope data

9.8k
Nov 29, 2026
RepositoryPHP
symfony/contracts

A set of abstractions extracted out of the Symfony components

3.9k
Nov 25, 2026