64

GitHub - filletofish/CardsLayout: Custom card-designed CollectionView layout

 5 years ago
source link: https://github.com/filletofish/CardsLayout
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

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 Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK