본문 링크 (Original Link)

[RxSwift] 1.9에서 2.0으로 마이그레이션 하는 방법

2018.05.04

#

by RxSwift, translated by pilgwon

GitHub 레포지토리를 포크해서 번역한 내용을 옮겼습니다.

마이그레이션은 쉬워야 합니다. 겉모습만 변경되었기 때문에 모든 기능들이 다 그대로 존재합니다.

viewModel.rows
    .bindTo(resultsTableView.rx_itemsWithCellIdentifier("WikipediaSearchCell", cellType: WikipediaSearchCell.self)) { (_, viewModel, cell) in
        cell.viewModel = viewModel
    }
    .disposed(by: disposeBag)

RxSwift 2.0의 컨셉에 대해 궁금한 점이 있다면, 예제 앱이나 플레이그라운드를 확인하세요.