Skip to content

htinlinn/HLElasticView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HLElasticView

HLElasticSnapView and HLElasticScaleView are UIView subclasses that support elastic snapping and scaling. It is inspired by UIScrollView's rubber band bouncing and Facebook Paper.

HLElasticViews take flick velocity into account and use CADisplayLink to update view positions and sizes. Spring and damping constants are defined in HLUtility.h and can be modified to change the elasticity.

About

UIView subclass with spring damping support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published