QKSliderView
Preview
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Installation
QKSliderView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'QKSliderView'How to use (or refer to Example)
Using storyboard
- Drag a
UICollectionViewto storyboard. - Open
Inspector panel, change class toQKSliderView.
Programmatically
let sliderView = QKSliderView(rows: 2, columns: 2, cellGapH: 8, cellGapV: 4, cellRemainWidth: 8)
sliderView.dataSource = self //UICollectionViewDataSource
self.view.addSubview(sliderView)
// then add constraints or adjust frameTerms explanation
Author
License
QKSliderView is available under the MIT license. See the LICENSE file for more info.



