filletofish / CardsLayout

:star: Custom card-designed CollectionView layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CardsLayout

CardsLayout is a lightweight Collection Layout.

CocoaPods Platform Twitter GitHub license

Preview

Installation

CocoaPods

You can use CocoaPods to install CardsLayout by adding it to your Podfile:

platform :ios, '9.0'
use_frameworks!
pod 'CardsLayout'
import CardsLayout

Manual

  1. Add CardsCollectionViewLayout file to your project
  2. Configure collectionView:
    collectionView.collectionViewLayout = CardsCollectionViewLayout()
    collectionView.isPagingEnabled = true
    collectionView.showsHorizontalScrollIndicator = false

About

:star: Custom card-designed CollectionView layout

License:MIT License


Languages

Language:Swift 59.7%Language:Ruby 40.3%