Awesome Open Source
Awesome Open Source

Parallax Auto Layout Demo

Blog post:

This Xcode project shows how to add a tableHeaderView to a UITableView with the popular parallax effect using Auto Layout.

Parallax Auto Layout Demo Animation

The requires Xcode 8 and Swift 3.0 to run.

I didn't include code to deal with landscape vs. portrait images, so if you're implementing this using portrait images, you may have to tweak it to achieve the effect you want. Let me know via a Github issue if you would like to see some more examples added.

Image credit:

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Swift (65,950
Layout (13,739
Xcode (12,416
Parallax (1,463
Uitableview (1,334
Autolayout (1,037