title: How do I configure the menu options in slide menu in Swift 3?
body: <p>I have successfully setup a slide menu, but am unable to display the menu options. The menu is empty.</p>
  
  <p>I have searched high and low. I'm unable to find an answer. I have been looking at my code for days and (of course) it looks right to me.</p>
  
  <pre><code>class LeftTableViewController: UITableViewController {
  
  @IBOutlet var menuTableView: UITableView!
  
  let menuItems = ["First", "Second", "Third", "Fourth"]
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      navigationController?.setNavigationBarHidden(true, animated: true)
  
      if (tableView(tableView: self.tableView, numberOfRowsInSection: 1) == 0 ) {
          let emptyStateLabel = UILabel(frame: tableView.frame)
          emptyStateLabel.text = "At this time, nothing is here."
  
          tableView.backgroundView = emptyStateLabel
      } else {
          tableView.backgroundView = nil
  
      }
  
  }
  
  override func viewWillAppear(_ animated: Bool) {
      super.viewWillAppear(animated)
  
      // Added a background view to the table view
      let backgroundImage = UIImage(named: "growlTaps.png")
      let imageView = UIImageView(image: backgroundImage)
      self.tableView.backgroundView = imageView
  
      // Remove lines where there aren't cells
      tableView.tableFooterView = UIView(frame: CGRect.zero)
  
      // Center and scale background image
      imageView.contentMode = .scaleAspectFit
  
      // Center and scale background image
      imageView.contentMode = .scaleAspectFill
  
      // Set the background color
      tableView.backgroundColor = .lightGray
  }
  
  // MARK: - Table view data source
  func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
      return 1
  }
  
  func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
  
      return menuItems.count
  }
  
  override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCell(withIdentifier: "LeftTableViewControllerCellIdentifier")!
      cell.textLabel?.text = menuItems[indexPath.row]
      return cell
  }
  
  func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: IndexPath) {
      tableView.deselectRow(at: indexPath, animated: true)
      switch indexPath.row {
      case 0:
          self.sideMenuViewController!.setContentViewController(contentViewController: UINavigationController.init(rootViewController: self.storyboard!.instantiateViewController(withIdentifier: "ViewController")), animated: true)
          self.sideMenuViewController!.hideMenuViewController()
          break
      case 1:
          self.sideMenuViewController!.setContentViewController(contentViewController:UINavigationController.init(rootViewController: self.storyboard!.instantiateViewController(withIdentifier: "AboutViewController")), animated: true)
          self.sideMenuViewController!.hideMenuViewController()
          break
      case 2:
          self.sideMenuViewController!.setContentViewController(contentViewController:UINavigationController.init(rootViewController: self.storyboard!.instantiateViewController(withIdentifier: "ContactVC")), animated: true)
          self.sideMenuViewController!.hideMenuViewController()
          break
      default:
          break
      }
  }
  }
  </code></pre>
  
  <p>EDIT: Outlets for the tableview.
  <a href="https://i.stack.imgur.com/Ltf9Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ltf9Q.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/X3D6I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X3D6I.png" alt="enter image description here"></a></p>