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

  • 所有者: terminatorover/RGCardViewLayout
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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'

主要指标

概览
名称与所有者terminatorover/RGCardViewLayout
主编程语言Objective-C
编程语言Objective-C (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2015-01-24 04:11:05
推送于2016-03-20 19:08:28
最后一次提交2016-03-20 12:08:27
发布数1
最新版本名称v1.0 (发布于 )
第一版名称v1.0 (发布于 )
用户参与
星数1.3k
关注者数51
派生数158
提交数26
已启用问题?
问题数17
打开的问题数11
拉请求数7
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?