Add a table view to the Journal List screen
As you saw in the app tour, the JRNL app displays journal entries in a table view. A table view is an instance of the UITableView class. It displays a column of cells. Each cell in a table view is a table view cell, which is an instance of the UITableViewCell class. In this section, you’ll start by adding a table view to the view controller scene for the Journal List screen in the Main storyboard file, then you’ll add Auto Layout constraints to make it fill the space between the navigation and tab bars.
For more information on laying out views and using Auto Layout constraints, see this link: https://developer.apple.com/documentation/uikit/view-layout.
Open the JRNL project you created in the previous chapter and run the app to make sure everything still works as it should, then follow these steps:
- Click the Main storyboard file in the Project navigator, select the view controller scene representing...