StrechyParallaxScrollView 0.1

StrechyParallaxScrollView 0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Feb 2015

Maintained by Cem Olcay.



  • By
  • Cem Olcay

uiscrollview with strechy and parallax top view

Demo

alt tag

Usage

Copy StrechyParallaxScrollView.h/m files to your project.

//create the top view
UIView *topView = [UIView new];
...

//create scroll view with top view just created
StrechyParallaxScrollView *strechy = [[StrechyParallaxScrollView alloc] initWithFrame:self.view.frame andTopView:topView];

//add it to your controllers view
[self.view addSubview:strechy];

Optional Values

CGFloat parallaxWeight: parallax speed of top view

BOOL strechs: enable/disable streching behaviour (enabled default)

BOOL parallax: enable/disable parallax behaviour (enabled default)