Chapter 24: self.rx_disposeBag (Page 417, PDF)

On page 417 of the current v2 PDF edition (& at the corresponding point on the ePub edition), this code is listed:

viewModel.sectionedItems
  .bind(to: tableView.rx.items(dataSource: dataSource))
  .disposed(by: self.rx_disposeBag)

Should the last line not be self.rx.disposeBag as self.rx_disposeBag doesn’t compile (anymore)?

1 Like