A RxSwift wrapper for Instagram's IGListKit - A data-driven UICollectionView
framework for building fast and flexible lists.RxIGListKit bring IGListKit into Reactive world.
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)
Swift 5 & Xcode 10.2 & RxCocoa
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"
Bruce-pac, Bruce_pac312@foxmail.com
RxIGListKit is available under the MIT license. See the LICENSE file for more info.