- Create a new Xcode project with a Single View template named NavigationController.
- From Object library, drag a navigation controller to the storyboard, and set the entry point of the storyboard to the navigation controller.
- By default, the navigation controller in interface builder comes with a root view controller, which is a UITableViewController. We will use this table to display a list of dates, and when you click on one of them, it will push another view controller.
- Create a new view controller called MasterViewController to be the root view controller and make it extend from UITableViewController. The source code of MasterViewController should look like this:
class MasterViewController: UITableViewController {