RGCardViewLayout

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

  • Owner: terminatorover/RGCardViewLayout
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

RGCardViewLayout

demo

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'

Main metrics

Overview
Name With Ownerterminatorover/RGCardViewLayout
Primary LanguageObjective-C
Program languageObjective-C (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2015-01-24 04:11:05
Pushed At2016-03-20 19:08:28
Last Commit At2016-03-20 12:08:27
Release Count1
Last Release Namev1.0 (Posted on )
First Release Namev1.0 (Posted on )
用户参与
Stargazers Count1.3k
Watchers Count51
Fork Count158
Commits Count26
Has Issues Enabled
Issues Count17
Issue Open Count11
Pull Requests Count7
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private