Skip to content

RxSwiftCommunity/RxIGListKit

Repository files navigation

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"

Author

Bruce-pac, [email protected]

License

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