Binding UITableViews

Practically, every app needs to present and facilitate interactions with lists of data. Fortunately, RxCocoa and additional libraries provide several extensions to work with Table and CollectionView. We will cover TableViews here and CollectionViews in the next section. We are starting out in a basic tableView app written traditionally using the standard tableView API. Let's review it first and then refractor it to use Rx.

Open the starter project for this section, and you will see that, at the top of this section, we have an IBOutlet for demoTableView added to the .storyboard scene. We want to point out something here. Rather than using a UITableViewController, we are using a UIViewController and adding a UITableView ...

Get Reactive Programming with Swift 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.