Git Product home page Git Product logo

a3parallaxscrollview's Introduction

#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.
ARC is not enabled for the project, but you can easily convert it to arc with the XCode built in ARC converter or by remove the dealloc method and the two or three release calls.
If you are too lazy for that, you can still set the -fno-objc-arc compiler flag.

##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 in the repository.

##Usage: Add the A3ParallaxScrollView directory to your project.
Initialize a A3ParallaxScrollView like any other View by code or in the InterfaceBuilder. Now 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 BSD 3-Clause 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 2012 dev by yinkou

a3parallaxscrollview's People

Watchers

James Cloos avatar Tai Truong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.