Understanding table views
The JRNL app uses a table view on the Journal List screen. A table view presents table view cells using rows arranged in a single column.
To learn more about table views, visit https://developer.apple.com/documentation/uikit/uitableview.
The data displayed by a table view is usually provided by a view controller. A view controller providing data for a table view must conform to the UITableViewDataSource
protocol. This protocol declares a list of methods that tells the table view how many cells to display and what to display in each cell.
To learn more about the UITableViewDataSource
protocol, visit https://developer.apple.com/documentation/uikit/uitableviewdatasource.
To enable user interaction, a view controller for a table view must also conform to the UITableViewDelegate
protocol, which declares a list of methods that are triggered when a user interacts with the table view.
To learn more about the UITableViewDelegate...