mayuur/MJParallaxCollectionView
Tentang
Efek paralaks pada sel-sel di dalam UICollectionView, seperti saat menggulir gambar di WhatsApp atau menjelajahi aplikasi Cuaca di iOS.
Desain dan mediaPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- -1
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliMJParallaxCollectionView
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.
- Just create a NSString array contaning all the names for the images.
- Set up the Collection View datasource and delegate methods.
- Set the scrollViewDidScroll delegate method for your UICollectionView.
- 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
Photos from Unsplash
License
Usage is provided under the MIT License. See LICENSE for the full details.
Jelajahi proyek terkait
Memuat…
