StrechyParallaxScrollView

by cemolcay

uiscrollview with strechy and parallax top view

208 Stars 31 Forks Last release: almost 6 years ago (v0.1) MIT License 7 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

StrechyParallaxScrollView

uiscrollview with strechy and parallax top view

Demo

alt tag

Install

Manual

Copy StrechyParallaxScrollView.h/m files to your project.

CocoaPods

    pod 'StrechyParallaxScrollView', '~> 0.1'

Usage

//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)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.