RxCells 1.0.0

RxCells 1.0.0

pikciu 维护。



 
依赖
RxSwift~> 6.0
RxCocoa~> 6.0
可重用~> 4.1
 

RxCells 1.0.0

  • Tomasz Pikć

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'