Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.23 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.23 KB

JJCycleView

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

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

pod 'JJCycleView', '~> 0.3.0'

Author

xuanhe, [email protected]

Use

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)

License

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