To get data into our Table View, we must conform to a protocol, as we did with the Collection View. In this case, we must implement UITableViewDataSource:
- First, we need to update our class declaration. We currently have the following:
class LocationViewController: UIViewController
- We now need to add UITableViewDataSource, as follows:
class LocationViewController: UIViewController, UITableViewDataSource