1.5 KiB
1.5 KiB
InfiniteLayout
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
Installation
InfiniteLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'InfiniteLayout'
Usage
@IBOutlet weak var collectionView: InfiniteCollectionView!
InfiniteCollectionView don't need any other delegate or dataSource, just use UICollectionViewDataSource and UICollectionViewDelegate as you'll use it in any other UICollectionView.
InfiniteLayout provide 3 class for infinite scrolling:
InfiniteLayout: an UICollectionViewFlowLayout
InfiniteCollectionView: an UICollectionView with InfiniteLayout
InfiniteCollectionViewController: an UICollectionViewController with InfiniteCollectionView
Author
Arnoymous, ineox@me.com
License
InfiniteLayout is available under the MIT license. See the LICENSE file for more info.