In this section, instead of the default ViewController, you're going to use a new TableViewController for the main screen:
- Remove the ViewController.swift file XCode created for you.
- Add a new MainScreenViewController.swift file to your project:
// File: MainScreenViewController.swiftimport UIKitclass MainScreenViewController: UITableViewController { override func viewDidLoad() { super.viewDidLoad() }}
- In storyboard, delete the View Controller item from View Controller Scene:
- Go View | Libraries | Show Library or Ctrl + command + L to reveal the Library tray:
- Alternatively, you can click on the