Latest 1.3.1
Homepage https://github.com/hryk224/InfiniteCollectionView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

Infinite horizontal scrolling using UICollectionView

CocoaPods Compatible
Swift 3.0

InfiniteCollectionView
InfiniteCollectionView

Requirements

  • iOS 8.0+
  • Swift 3.0+
  • ARC

install

CocoaPods

Adding the following to your Podfile and running pod install:

use_frameworks!
pod "InfiniteCollectionView"

import

import InfiniteCollectionView

Usage

initialize

@IBOutlet weak var collectionView: InfiniteCollectionView!

delegate, dataSource

collectionView.infiniteDataSource = XXX
collectionView.infiniteDelegate = XXX
// protocol
func number(ofItems collectionView: UICollectionView) -> Int
func collectionView(_ collectionView: UICollectionView, dequeueForItemAt dequeueIndexPath: IndexPath, cellForItemAt usableIndexPath: IndexPath) -> UICollectionViewCell

// optional
func infiniteCollectionView(_ collectionView: UICollectionView, didSelectItemAt usableIndexPath: IndexPath)
func scrollView(_ scrollView: UIScrollView, pageIndex: Int)

Photos from

License

This project is made available under the MIT license. See LICENSE file for details.

Latest podspec

{
    "name": "InfiniteCollectionView",
    "version": "1.3.1",
    "summary": "Infinite Scrolling Using UICollectionView.",
    "homepage": "https://github.com/hryk224/InfiniteCollectionView",
    "screenshots": "https://github.com/hryk224/InfiniteCollectionView/wiki/images/sample1.gif",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "hyyk224": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/hryk224/InfiniteCollectionView.git",
        "tag": "1.3.1"
    },
    "source_files": "Sources/*.{h,swift}",
    "frameworks": "UIKit",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This