Skip to content

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

Notifications You must be signed in to change notification settings

dduan/Swipe-Away

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published