SkillAgentSearch skills...

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

Install / Use

/learn @mayuur/MJParallaxCollectionView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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 : <a href="https://twitter.com/mayuur" target="_blank">@mayuur</a>

Watch the demo below

Video

Photos from <a href="http://unsplash.com/" target="_blank">Unsplash</a>

License

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

View on GitHub
GitHub Stars1.2k
CategoryDevelopment
Updated2d ago
Forks107

Languages

Objective-C

Security Score

95/100

Audited on Mar 28, 2026

No findings