Skip to content

Instantly share code, notes, and snippets.

@charlag
Created August 20, 2016 16:40
Show Gist options
  • Save charlag/949e78408d9217a4f6d47a9b86799c2a to your computer and use it in GitHub Desktop.
Save charlag/949e78408d9217a4f6d47a9b86799c2a to your computer and use it in GitHub Desktop.
screenState.asObservable()
.map { $0.cells }
.map { [AuthSection(model: 0, items: $0)] }
.bindTo(tableView.rx_itemsWithDataSource(dataSource))
.addDisposableTo(disposeBag)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment