프로젝트
GitHub에서 보기
mayuur/MJParallaxCollectionView
소개
UICollectionView 내부 셀에 시차 효과를 적용합니다. WhatsApp에서 이미지를 스크롤하거나 iOS의 Weather 앱을 스크롤할 때와 같은 효과를 제공합니다.
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMJParallaxCollectionView
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.
관련 프로젝트 살펴보기
불러오는 중…
