Latest 0.0.4
Homepage https://github.com/121372288/PageScrollPlay
License MIT
Platforms ios 8.0, requires ARC
Authors

PageScrollPlay

一个轮播视图swift3.0

使用方式

将ScrollViewPlay下的PageScrollPlay拖入项目即可以使用

ScrollViewPagePlayer 视图即为轮播视图

实例化时传入Class为继承于ScrollViewPageCellContent的类,该class将被实例化为ScrollViewPagePlayer的cell子视图

显示的数据通过dataSource传入,dataSource为数组, dataSource装的类型通过泛型赋值,最终会通过
open func setValues(For source: DATASOURCE?) 方法传入对应的ScrollViewPageCellContent子类中。
最终完成数据的展示

pods集成

   <pre><code> pod 'PageScrollPlayer' </pre></code>

Latest podspec

{
    "name": "PageScrollPlayer",
    "version": "0.0.4",
    "summary": "PageScrollPlayer.",
    "description": "this project provide all kinds of categories for iOS developer",
    "homepage": "https://github.com/121372288/PageScrollPlay",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "brfs": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/121372288/PageScrollPlay.git",
        "tag": "0.0.4"
    },
    "source_files": [
        "Classes",
        "PageScrollPlayer/**/*.{h,m,swift}"
    ],
    "exclude_files": "Classes/Exclude",
    "requires_arc": true,
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This