Latest 0.1.1
Homepage https://github.com/qkzhu/QKSliderView
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform
中文 README

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

  1. Drag a UICollectionView to storyboard.
  2. Open Inspector panel, change class to QKSliderView.
  3. Open Inspector panel, update neccessary properties such as total number of rows, columns etc.

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 frame

Terms explanation

Author

qiankun

License

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

Latest podspec

{
    "name": "QKSliderView",
    "version": "0.1.1",
    "summary": "An UICollectionView that displays a small portion of previous and next page on the screen.",
    "homepage": "https://github.com/qkzhu/QKSliderView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "qiankun": "[email protected]"
    },
    "source": {
        "git": "https://github.com/qkzhu/QKSliderView.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "QKSliderView/*.{h,m}",
    "public_header_files": "QKSliderView/QKSliderView.h"
}

Pin It on Pinterest

Share This