All Projects → dduan → Swipe-Away

dduan / Swipe-Away

Licence: other
An iOS 7 demo of user interaction with UIView achieved via UIDynamics.

Programming Languages

objective c
16641 projects - #2 most used programming language

This a iOS 7 demo of user interaction with UIView achieved via UIDynamics.

The view rotates and moves as user pans over it. When the gesture ends, if the velocity is smaller than a threshold, the view snaps back to its original positon, otherwise it gains an acceleration in the direciton of its veleocity and moves out of the screen.

Design is inspired by TweetBot.

Implementation heavily relied on this answer on StackOverflow.

This code is releaed to the public domain.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].