Latest 0.0.3
Homepage https://github.com/CodansWJ/WJWheel
License MIT
Platforms ios 8.0, requires ARC
Authors

轻量级无限循环重用机制的轮播

使用方法

1.初始化WheelImageView
使用本地图片:

init(frame: CGRect, imageArray:[UIImage], frequency:CGFloat)

使用网络图片:

init(frame: CGRect, imageUrlArray:[String], placehold:UIImage?, frequency:CGFloat)

2.遵守代理和代理方法
WheelImageViewDelegate

func wheelImageViewDidSelected(index: Int) {
        print("点了图片:(index)")
    }

Latest podspec

{
    "name": "WJWheel",
    "version": "0.0.3",
    "summary": "A wheel for Swift3.0",
    "homepage": "https://github.com/CodansWJ/WJWheel",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "CodansWJ": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/CodansWJ/WJWheel.git",
        "tag": "0.0.3"
    },
    "source_files": "demo-wheel/WheelImage/*.{swift,png}",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This