Latest 0.1
Homepage https://github.com/cemolcay/StrechyParallaxScrollView
License MIT
Platforms ios , requires ARC
Frameworks UIKit
Authors

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)

Latest podspec

{
    "name": "StrechyParallaxScrollView",
    "version": "0.1",
    "summary": "uiscrollview with strechy and parallax top view",
    "description": "  StrechyParallaxScrollViewn  =========================nn  uiscrollview with strechy and parallax top viewnnn  Demon  ====nn  ![alt tag](https://raw.githubusercontent.com/cemolcay/StrechyParallaxScrollView/master/StrechyParallaxScrollView/demo.gif)nnn  Usagen  =====nn  Copy StrechyParallaxScrollView.h/m files to your project.nn      //create the top viewn      UIView *topView = [UIView new];n      ...nn      //create scroll view with top view just createdn      StrechyParallaxScrollView *strechy = [[StrechyParallaxScrollView alloc] initWithFrame:self.view.frame andTopView:topView];nn      //add it to your controllers viewn      [self.view addSubview:strechy];nnnn  Optional Valuesn  ---------------n  CGFloat parallaxWeight: parallax speed of top viewnn  BOOL strechs: enable/disable streching behaviour (enabled default)nn  BOOL parallax: enable/disable parallax behaviour (enabled default)n",
    "homepage": "https://github.com/cemolcay/StrechyParallaxScrollView",
    "license": "MIT",
    "authors": {
        "Cem Olcay": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/cemolcay/StrechyParallaxScrollView.git",
        "tag": "v0.1"
    },
    "source_files": "StrechyParallaxScrollView/StrechyParallaxScrollView/*.{h,m}",
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This