We now have our Table View displaying data, but we need it to display a list of actual locations. Let's update our Table View to show our list of locations:
- Directly under the tableView variable, add the following:
let locations = ["Aspen", "Boston", "Charleston", "Chicago", "Houston", "Las Vegas", "Los Angeles", "Miami", "New Orleans", "New York", "Philadelphia", "Portland", "San Antonio", "San Francisco", "Washington District of Columbia"]
- Your file should now look like mine:
![](https://static.packt-cdn.com/products/9781789348668/graphics/assets/59328df4-f0be-4509-ac3b-ba78e20edefa.png)
- Next, to update our cell to display the locations, we need to replace the cell.textLabel?.text = "A cell" line with the following:
cell.textLabel?.text = locations[indexPath.item]
Let's build and...