It helps you create parallax effect by an easier way.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ParallaxDemo.xcodeproj
ParallaxDemo
.gitattributes
.gitignore
NTParallaxView.podspec
README.md

README.md

Here is a better implemetation.

##Why Use It

  • It helps you create a tableview(scrollview) with parallax effect, much like the top view of Path's timeline, by a easier way.

##What did i do

  • It's just a instance method of UIScrollView's category, so we can add the parallax effect naturally.

##How To Use

//we get a tableView here, of course, any kind of UIScrollView class's object is fine.
UITableView* tableView = [self createTableView];
//get a parallax background view.
UIView * parallaxView = [self getParallaxView];
//that's all.
[tableView addForegroundView:[self getParallaxView]
            withWindowHeight:100
           dragDistanceLimit:0
              parallaxFactor:0.25];

##Creator Nicholas Tau (@demonNico)

License

NTParallaxView is available under the MIT license. See the LICENSE file for more info.

Bitdeli Badge