Summary
In this chapter, you learned about table views and table view controllers, and you implemented a view controller for a table view in a playground. Next, you implemented the LocationsViewController
class, a table view controller for the Locations screen, and created a .plist
file from scratch called Locations.plist
to hold a list of locations. You created a data manager class, LocationsDataManager
, to read data from the .plist
file. Finally, you configured the LocationsViewController
class to get data from the LocationsDataManager
instance and provide it to the table view so that the Locations screen displays a list of restaurant locations.
This will enable you to create .plist
files from scratch to store data, and to implement table views that use .plist
files as a data source for your own apps. Awesome!
In the next chapter, you will add a map view to the Map screen and configure it to display restaurant locations. You’ll also set up custom annotations for...