AGInterfaceInteraction 0.3.0

AGInterfaceInteraction 0.3.0

LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jun 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by kalamaznik.

  • By
  • Agilie



Everything Boundaries

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.


To run the example project, clone the repo, and run pod install from the Example directory first.



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)


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

pod "AGInterfaceInteraction"


This library is open-sourced by Agilie Team [email protected]


Michael Liptuga - [email protected]

Contact us

[email protected]


The MIT License (MIT) Copyright © 2017 Agilie Team