文章来源:淘论文网   发布者: 毕业设计   浏览量: 39



还可以点击去查询以下关键词:
[好玩]    [轮子]    [布局]    [定制]    [CPCollectionViewWheelLayoutSwift]    [好玩的轮子布局 定制CPCollectionViewWheelLayoutSwift]   

项目介绍:

CPCollectionViewWheelLayoutSwift



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

Clone OR Download this repo.

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 }

See more in Example project.

Author

Parsifal, zmw@izmw.me

使用说明详见Github Readme.
Source:https://github.com/ParsifalC/CPCollectionViewWheelLayoutSwift

开题报告开题报告


这里还有:


还可以点击去查询:
[好玩]    [轮子]    [布局]    [定制]    [CPCollectionViewWheelLayoutSwift]    [好玩的轮子布局 定制CPCollectionViewWheelLayoutSwift]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/7811.docx
  • 上一篇:弹幕控件
  • 下一篇:LYLShareManager 简单封装定制友盟第三方平台-分享功能