All Projects → ParsifalC → CPCollectionViewWheelLayoutSwift

ParsifalC / CPCollectionViewWheelLayoutSwift

Licence: MIT license
New url:https://github.com/ParsifalC/CPCollectionViewKit Objective-C Version:https://github.com/ParsifalC/CPCollectionViewWheelLayout

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to CPCollectionViewWheelLayoutSwift

Blueprints
🌀 Blueprints - A framework that is meant to make your life easier when working with collection view flow layouts.
Stars: ✭ 874 (+5362.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Chatlayout
ChatLayout is an alternative solution to MessageKit. It uses custom UICollectionViewLayout to provide you full control over the presentation as well as all the tools available in UICollectionView. It supports dynamic cells and supplementary view sizes.
Stars: ✭ 184 (+1050%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Collectionviewpaginglayout
a simple but highly customizable paging layout for UICollectionView.
Stars: ✭ 947 (+5818.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Swiftspreadsheet
Spreadsheet CollectionViewLayout in Swift. Fully customizable. 🔶
Stars: ✭ 590 (+3587.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Admozaiccollectionviewlayout
ADMozaicCollectionViewLayout is yet another UICollectionViewLayout subclass that implements "brick", "mozaic" or Pinterest style layout.
Stars: ✭ 226 (+1312.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Alignedcollectionviewflowlayout
A collection view layout that gives you control over the horizontal and vertical alignment of the cells.
Stars: ✭ 751 (+4593.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Lxreorderablecollectionviewflowlayout
Extends `UICollectionViewFlowLayout` to support reordering of cells. Similar to long press and pan on books in iBook.
Stars: ✭ 1,831 (+11343.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Uicollectionview Layouts Kit
📐 A set of custom layouts for UICollectionView with examples [Swift 5.3, iOS 12].
Stars: ✭ 410 (+2462.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Bubblecollectionviewlayout
Create bubble layout of UICollectionView using custom layout
Stars: ✭ 79 (+393.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Drcollectionviewtablelayout Ios
UICollectionView 2d-table / grid / spreadsheet layout
Stars: ✭ 74 (+362.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Carlenscollectionviewlayout
An easy-to-use Collection View Layout for card-like animation.
Stars: ✭ 478 (+2887.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Cpcollectionviewkit
Interesting UICollectionView layouts and transitions
Stars: ✭ 140 (+775%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Chtcollectionviewwaterfalllayout
The waterfall (i.e., Pinterest-like) layout for UICollectionView.
Stars: ✭ 4,288 (+26700%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Collectionviewslantedlayout
A CollectionView Layout displaying a slanted cells
Stars: ✭ 2,029 (+12581.25%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Collectionkit
Reimagining UICollectionView
Stars: ✭ 4,153 (+25856.25%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Centeredcollectionview
A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift
Stars: ✭ 965 (+5931.25%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Wslwaterflowlayout
功能描述:WSLWaterFlowLayout 是在继承于UICollectionViewLayout的基础上封装的控件, 目前支持竖向瀑布流(item等宽不等高、支持头脚视图)、水平瀑布流(item等高不等宽 不支持头脚视图)、竖向瀑布流( item等高不等宽、支持头脚视图)、栅格布局瀑布流 4种样式的瀑布流布局。
Stars: ✭ 308 (+1825%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Bouncylayout
Make. It. Bounce.
Stars: ✭ 4,035 (+25118.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Pagingkit
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries.
Stars: ✭ 1,030 (+6337.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Flowlayout
UICollectionView WaterFlowLayout. 瀑布流.
Stars: ✭ 94 (+487.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout

CPCollectionViewWheelLayoutSwift

CI Status Version Carthage compatible [License] (http://cocoapods.org/pods/CPCollectionViewWheelLayoutSwift) Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.You can view it from Appetize

Requirements

  • Swift3
  • Xcode 8.1+
  • iOS 8.0+

Installation

CPCollectionViewWheelLayoutSwift supports multiple methods for installing the library in a project.

Installation with CocoaPods

CPCollectionViewWheelLayoutSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "CPCollectionViewWheelLayoutSwift"

Installation with Carthage

Carthage is supported as well.To install it, add the following line to your Cartfile, then Drag the Framework to your Project:

github "ParsifalC/CPCollectionViewWheelLayoutSwift"

Install manually

  1. Clone OR Download this repo.
  2. Drag "CPCollectionViewWheelLayoutSwift.swift" to your project.

USAGE

Just config your CollectionView with this layout:

let configuration = CPWheelLayoutConfiguration.init(withCellSize: CGSize.init(width: 100, height: 100), radius: 200, angular: 20, wheelType:wheelType)
let wheelLayout = CPCollectionViewWheelLayout.init(withConfiguration: configuration)
let colletionView = UICollectionView.init(frame: view.frame, collectionViewLayout:wheelLayout)

Support 8 types layout:

public enum CPWheelLayoutType:Int {
    case leftBottom = 0
    case rightBottom
    case leftTop
    case rightTop
    case leftCenter
    case rightCenter
    case topCenter
    case bottomCenter
}

Customize your layout:

public struct CPWheelLayoutConfiguration {
    public var cellSize:CGSize
    public var radius:Double
    public var angular:Double   
    public var fadeAway:Bool
    public var zoomInOut:Bool
    public var maxContentHeight:Double
    public var contentHeigthPadding:Double
}

See more in Example project.

Author

Parsifal, [email protected]

License

CPCollectionViewWheelLayoutSwift is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].