terminatorover/RGCardViewLayout
terminatorover/RGCardViewLayout has 1,338 GitHub stars and 158 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-15 09:39 UTC. Last push 2016-03-20.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
This is a layout that clones the interaction of going through city "cards" in the City Guide App. (this app is #3 for the top iOS app animations on the raywenderlich
창작 및 미디어README.md
OriginalRGCardViewLayout

Watch it in action here This is a layout that clones the interaction of going through cities in the City Guide App. (this app is #3 for the top iOS app animations on the raywenderlich
To use this simply drop it in as a class in the storyboard or nib when you create your collection view. or you can instantiate it in code and give it your collection view(via initWithFrame:collectionViewLayout: or just set the layout propery of the collection View. and you can use your collection View as you always do.
One important this for this layout is that in the datasource protcol to specify the number of cards you must use numberOfSectionsInCollectionView: , and for collectionView:numberOfItemsInSection: you must always return 1.
also note that the itemsize is computed by the layout to be "appropriate" to the size of the collection view itself so setting it won't do anything.
Place the following line into your podfile to use RGCardViewLayout: pod 'RGCardViewLayout','1.0'