RxCells
使用方法
绑定
Observable.just(Array(0..<100)).bind(to: tableView.rx.cells(SampleCell.self))
单元配置
final class SampleCell: UITableViewCell, Configurable, Reusable {
func configure(with model: Int) {
self.textLabel?.text = "value: \(model)"
}
}
安装
通过 CocoaPods
pod 'RxCells'