Latest 0.1.1
Homepage https://github.com/liuqiang03109/WHScrollPageView
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod "WHScrollPageView"
 let page = WHScrollPageView(frame: CGRect(x: 20, y: 50, width: 335, height: 120), { (imageView, url) in
            //内部传出imageView跟url,通过url设置imageView的图片
            //imageView.kf.setImage(with: url)
        }) { (index) in
            print("听单处理(index)")
        }

        let array = ["https://raw.githubusercontent.com/onevcat/Kingfisher/master/images/kingfisher-1.jpg", "https://raw.githubusercontent.com/onevcat/Kingfisher/master/images/kingfisher-2.jpg", "https://raw.githubusercontent.com/onevcat/Kingfisher/master/images/kingfisher-3.jpg"]

        //一定要设置图片数组
        page.imagesURLString = array

        view.addSubview(page)

Author

wenhe-liu, [email protected]

License

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

Latest podspec

{
    "name": "WHScrollPageView",
    "version": "0.1.1",
    "summary": "WHScrollPageView.",
    "description": "u4e00u4e2au65e0u7ebfu6edau52a8u7684u8f6eu64adu5668uff0cu53eau9700u4e24u884cu4ee3u7801u5c31u53efu4ee5u641eu5b9au7f51u7edcu52a0u8f7du56feu7247uff0cu5e76u4e14u5b9eu73b0u56feu7247u7684clicku76d1u542cu4e8bu4ef6",
    "homepage": "https://github.com/liuqiang03109/WHScrollPageView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wenhe-liu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/liuqiang03109/WHScrollPageView.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "WHScrollPageView/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This