RxCollectionExtensions is available through CocoaPods. To install it, simply add the following line to your Podfile:
self.viewModel.items
// .asObservable()
.bind(toTableView: self.tableView, cellIdentifier: Cells.default, cellType: UITableViewCell.self, disposeBag: self.disposeBag) { (index, row, cell) in
cell.textLabel?.text = row.name;
}self.viewModel.items
// .asObservable()
.bind(toCollectionView: self.collectionView, cellIdentifier: Cells.default, cellType: CollectionViewCell.self, disposeBag: self.disposeBag) { (index, row, cell) in
cell.label?.text = row.name;
}To run the example project, clone the repo, and run pod install from the Example directory first.
RxSwfit, RxCocoa
pod 'RxCollectionExtensions'2sem, toyboy2@hanmail.net
RxCollectionExtensions is available under the MIT license. See the LICENSE file for more info.