TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Nov 2017 |
Maintained by Nam Dinh Vu.
DVViewPager is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'DVViewPager'
let width = UIScreen.main.bounds.width
let height = width * 9 / 16
let infiniteScrollView = InfiniteScrollView(frame: CGRect(x: 0, y: 0, width: width, height: height), collectionViewLayout: UICollectionViewFlowLayout())
infiniteScrollView.backgroundColor = .green
infiniteScrollView.setData(myList)
view.addSubview(infiniteScrollView)
width
property must be Srceen Width
DVViewPager is available under the MIT license. See the LICENSE file for more info.