Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 2.21 KB

README.md

File metadata and controls

62 lines (44 loc) · 2.21 KB

RxIGListKit

A RxSwift wrapper for Instagram's IGListKit - A data-driven UICollectionView framework for building fast and flexible lists.RxIGListKit bring IGListKit into Reactive world.

Build Status Version Carthage License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

let dataSource = RxListAdapterDataSource<String>(sectionControllerProvider: { _,_ in
            LabelSectionController()
})
let objectsSignal = BehaviorSubject<[String]>(value: [])
objectsSignal.bind(to: adapter.rx.objects(dataSource: dataSource)).disposed(by: bag)

Requirements

Swift 5 & Xcode 10.2 & RxCocoa

Installation

RxIGListKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RxIGListKit'

For Carthage, add the following to your Cartfile:

github "RxSwiftCommunity/RxIGListKit" "master"

For Swift Package Manager, add the following to your Package.swift

dependencies: [
        .package(url: "https://github.com/RxSwiftCommunity/RxIGListKit.git", branch: "master")
],
targets: [
        .target(
            name: "MyPackage",
            dependencies: ["RxIGListKit"]
        )
]

Author

Bruce-pac, [email protected]

License

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