Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

allaboutapps/A3ParallaxScrollView

Open more actions menu

Repository files navigation

#What is A3ParallaxScrollView? A3ParallaxScrollView is a UIScrollView subclass with a parallax scrolling effect on iPhone and iPad.

It is written in Objective-C and works for all iOS applications using ARC.

##Video: Here are two examples of the use of A3ParallaxScrollView.
The first is a little Demo with a lot of views and additional custom transformations (sine movement of the moon).
The other one shows a Path like scrolling behaviour.
A3ParallaxScrollView sample A3ParallaxScrollView Path like sample
Both sample projects are included in the github repository.

##Installation

###With CocoaPods: A3ParallaxScrollView is available on CocoaPods . Just add the following to your project Podfile:

####Podfile platform :ios, '7.0' pod "A3ParallaxScrollView", "~> 1.0"

###Manualy: Download the A3ParallaxScrollView.h/.m files and add them to your Project. There are no dependencies.

##Usage: Include A3ParallaxScrollView by the folowing import.

#import "A3ParallaxScrollView.h"

Initialize a A3ParallaxScrollView like any regular UIScrollView by code or in the InterfaceBuilder.

Update Accelerations

You can add any views to it with a specified acceleration:

- (void)addSubview:(UIView *)view withAcceleration:(CGPoint) acceleration

Or you can simply add a subview to your A3ParallaxScrollView and set his acceleration afterwards with acceleration setter.

- (void)setAcceleration:(CGPoint) acceleration forView:(UIView *)view

#License: See our MIT License

#Contribute: Feel free to fork and make pull requests! We are also very happy if you tell us about your app(s) which use this control.

aaa - AllAboutApps
© allaboutapps 2014 dev by Botond Kis

About

A UIScrollview subclass with a high performance parallax scrolling effect

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.