Chapter 15: Getting Started with Table Views
In the previous chapter, you configured the ExploreViewController
class, the view controller for the Explore screen, to display cuisine information provided by ExploreData.plist
in a collection view.
In this chapter, you'll start by learning about table views and table view controllers. You'll implement a table view programmatically (which means implementing it using code instead of storyboards) using a playground, to understand how table views work. Next, you'll create a table view controller for the Locations screen, create a .plist
file from scratch to hold a list of locations, create a data manager class to read data from the .plist
file, and configure the table view controller to get data from the data manager and provide it to the table view. The Locations screen will then display a list of restaurant locations.
By the end of this chapter, you'll have learned how to create .plist
files, and how to implement...