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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?