项目介绍:
无限轮播图,具体赋值阶段可根据需求在setimage方法中进行修改。
主要集成方法:
[Objective-C] 查看源文件 复制代码
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let dataArray = ["101.jpg","102.jpg","103.jpg","104.jpg","105.jpg"]
let cycleView = CycleView.init(frame: CGRectMake(0, 100, self.view.bounds.width, 300))
self.view.addSubview(cycleView)
cycleView.updataWithArray(dataArray)
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
DEMO 下载:

无限轮播图Swift版.zip
(405.16 KB, 下载次数: 85, 售价: 8 金钱)
2016-7-21 09:24 上传
点击文件名下载附件
