Parallax ScrollView In Swift

This week I got a chance to work on a personal project that involved UICollectionView. In particular, I implemented a simple parallax effect inside of a an UICollectionViewCell. For the curious ones, Parallax effect became popular thanks to Web Designers who started the trend in 2011 using HTML 5 and CSS3.

I should mention that parallax effect is not for everyone and should be used sparingly (remember when it was introduced on an iPhone and how it made some people “dizzy”?). It is quite a nice feature though.

For those of you who would like to just skip to the actual code sample, here is the link to my project on GitHub. Here is a brief tutorial and important pieces that make parallax work.

Continue reading “Parallax ScrollView In Swift”

Parallax ScrollView In Swift