Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filletofish/CardsLayout
:star: Custom card-designed CollectionView layout
https://github.com/filletofish/CardsLayout
cards collectionview collectionviewlayout ios swift uikit
Last synced: about 2 months ago
JSON representation
:star: Custom card-designed CollectionView layout
- Host: GitHub
- URL: https://github.com/filletofish/CardsLayout
- Owner: filletofish
- License: mit
- Created: 2017-11-02T23:07:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-07T09:02:51.000Z (over 4 years ago)
- Last Synced: 2024-12-08T10:15:17.179Z (about 2 months ago)
- Topics: cards, collectionview, collectionviewlayout, ios, swift, uikit
- Language: Swift
- Homepage:
- Size: 3.16 MB
- Stars: 856
- Watchers: 12
- Forks: 62
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - CardsLayout - Nice card-designed custom collection view layout. (UI / Cards)
- awesome-swift - CardsLayout - Nice card-designed custom CollectionView layout. (Libs / UI)
- awesome-swift - CardsLayout - Nice card-designed custom CollectionView layout. (Libs / UI)
- awesome-ios-star - CardsLayout - Nice card-designed custom collection view layout. (UI / Cards)
- fucking-awesome-swift - CardsLayout - Nice card-designed custom CollectionView layout. (Libs / UI)
- awesome-swift - CardsLayout - Custom card-designed CollectionView layout ` 📝 3 years ago` (UI [🔝](#readme))
README
# CardsLayout
CardsLayout is a lightweight Collection Layout.
![CocoaPods](https://img.shields.io/badge/pod-v0.0.1-blue.svg)
[![Platform](https://img.shields.io/badge/platform-iOS-green.svg)]()
[![Twitter](https://img.shields.io/badge/twitter-@__filletofish__-blue.svg?style=flat)](https://twitter.com/_filletofish_)
![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)![Preview](https://github.com/filletofish/Cards/blob/master/Animation.gif)
## Installation
### CocoaPods
You can use [CocoaPods](http://cocoapods.org/) to install `CardsLayout` by adding it to your `Podfile`:```ruby
platform :ios, '9.0'
use_frameworks!
pod 'CardsLayout'
`````` swift
import CardsLayout
```### Manual
1. Add `CardsCollectionViewLayout` file to your project
2. Configure `collectionView`:```swift
collectionView.collectionViewLayout = CardsCollectionViewLayout()
collectionView.isPagingEnabled = true
collectionView.showsHorizontalScrollIndicator = false
```