Skip to content
This is a parallax for the cells inside UICollectionView. It gives us an effect just like scrolling the images in Whatsapp or scrolling through the Weather app for iOS
Objective-C
Branch: master
Clone or download
mayurjoshi mayurjoshi
mayurjoshi and mayurjoshi Added MIT License
Latest commit ee71e6c Feb 26, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ParallaxImages.xcodeproj Fixed issue with image005.jpg file Feb 26, 2015
ParallaxImages Fixed issue with image005.jpg file Feb 26, 2015
ParallaxImagesTests Fixed issue with directory structure Apr 1, 2014
LICENSE Added MIT License Feb 26, 2015
README.md Update README.md Apr 24, 2014
Screenshot.png Updated smaller size image Apr 18, 2014

README.md

MJParallaxCollectionView

This is a parallax for the cells inside UICollectionView. It gives us an effect just like scrolling the images in Whatsapp or scrolling through the Weather app for iOS.

Setting it up is really simple.

  1. Just create a NSString array contaning all the names for the images.
  2. Set up the Collection View datasource and delegate methods.
  3. Set the scrollViewDidScroll delegate method for your UICollectionView.
  4. That's it. Now run!

Optionally, you can change the animation speed for the images or the height of the images in the UICollectionViewCell by chnaging the constants used in MJCollectionViewCell.h

Thanks!

Follow me or ask questions or just say Hi! at Twitter : @mayuur

Watch the demo below

Video

Photos from Unsplash

License

Usage is provided under the MIT License. See LICENSE for the full details.

You can’t perform that action at this time.