To run the example project, clone the repo, and run pod install
from the Example directory first.
JJCycleView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'JJCycleView', '~> 0.3.0'
xuanhe, [email protected]
cycleView = JJCycleView(frame: CGRect(x: 0, y: kNavBarHeight+100, width: KScreenWidth, height: 200), images: data, delegate: self, placeholderImage: nil)
cycleView.scrollDirrection = .horizontal
cycleView.imageArray = data
cycleView.isAutoScroll = true
view.addSubview(cycleView)
JJCycleView is available under the MIT license. See the LICENSE file for more info.