We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Wiki填写模板 ## 名称(v最新版本号) 1. 作用 2. 用法 3. 使用代码举例 (4. 其他) From:维护人
##LoopPage(v0.0.2)
init(frame: CGRect, timeInter: NSTimeInterval, countClosur: LoopPageCountClosure, pageClosure: LoopPageCurrentViewClosure, actionClosure: LoopPageTapActionClosure)
lazy var loopPage : LoopPage = { let page = LoopPage(frame: CGRect(x: 0,y: 0,width: 375,height: 100), timeInter: 0, countClosur: { () -> Int in return 5 }, pageClosure: { (pageIndex) -> UIView in let label = UILabel(frame: CGRect(x: 0, y: 0, width: 50, height: 50)) label.text = "pageIndex:\(pageIndex)" label.textAlignment = NSTextAlignment.Center return label }, actionClosure: { (pageIndex) -> Void in print("\(pageIndex)") }) return page }()
From:Azen.Xu