Latest 1.0.1
Homepage https://github.com/ChenQianPing/QPCycleScrollView
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

GitHub license
CocoaPods Compatible

Swift Picture carousel view

Example Usage

  • createQPCycleScrollView

    func createQPCycleScrollView() {
    
    let frame = CGRect(x: 0, y: 20, width: view.bounds.width, height: 130)
    
    let imageView = ["banner03","banner05","banner06","banner07"]
    let loopView = QPCycleScrollView(frame: frame, images: imageView as NSArray, autoPlay: true, delay: 3, isFromNet: false)
    loopView.delegate = self
    view.addSubview(loopView)
    }
  • extension ViewController
extension ViewController:QPCycleScrollViewDelegate {
    func adLoopView(_ adLoopView: QPCycleScrollView, IconClick index: NSInteger) {
        print(index)
    }
}

Cocoapods

Add pod 'QPCycleScrollView', '~> 1.0.1' to your Podfile
Run pod install or pod update

Contributing

  • If you need help, open an issue.
  • If you found a bug, open an issue.
  • If you have a new demand, also open an issue.

MIT License

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

Latest podspec

{
    "name": "QPCycleScrollView",
    "version": "1.0.1",
    "summary": "CycleScrollView for Swift.",
    "description": "It is a CycleScrollView used on iOS, which implement by Swift.",
    "homepage": "https://github.com/ChenQianPing/QPCycleScrollView",
    "license": "MIT",
    "authors": {
        "QianPing Chen": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ChenQianPing/QPCycleScrollView.git",
        "tag": "1.0.1"
    },
    "source_files": "QPCycleScrollView/*.swift",
    "frameworks": "UIKit",
    "module_name": "QPCycleScrollView",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This