Infinite horizontal scrolling using UICollectionView
- iOS 8.0+
- Swift 2.2+
- ARC
Adding the following to your Podfile and running pod install:
use_frameworks!
pod "InfiniteCollectionView"import InfiniteCollectionView@IBOutlet weak var collectionView: InfiniteCollectionView!collectionView.infiniteDataSource = XXX
collectionView.infiniteDelegate = XXX
collectionView.cellWidth = XXX// protocol
func cellForItemAtIndexPath(collectionView: UICollectionView, dequeueIndexPath: NSIndexPath, indexPath: NSIndexPath) -> UICollectionViewCell
func numberOfItems(collectionView: UICollectionView) -> Int
// optional
func didSelectCellAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath)
func didUpdatePageIndex(index: Int)- by pakutaso.com
This project is made available under the MIT license. See LICENSE file for details.

