title: How to create a single line view separator in UITableView
body: <p>How can I create a single line view separator in <code>UITableView</code> like the NavigationDrawer of Android:</p>
  
  <p><a href="https://i.stack.imgur.com/4u3Kr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4u3Kr.png" alt="enter image description here"></a></p>
  
  <p>I know that in Android it's easy, but I can't find a reference of that for iOS, how is it call on iOS, I just want a single line separator in my menu view, all the videos and tutorials that I can find for iOS shows how to add an expandable menu, which is not what I want, I want just one  single line separating two groups of an array of strings. Is that possible on iOS, where can I found a tutorial teaching that?</p>
  
  <p>my code so far:</p>
  
  <pre><code>import UIKit
  
  class MenuViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
  
      //Outlets
      @IBOutlet weak var tableView: UITableView!
      var menuNameArr = [String]()
      var iconImage = [UIImage]()
  
      override func viewDidLoad() {
          super.viewDidLoad()
          tableView.alwaysBounceVertical = false;
          tableView.separatorStyle = .none
  
          menuNameArr = ["Meu Perfil", "Meus Cupons", "Extrato de pontos", "Configurações", "Termos de uso", "Entre em Contato", "Avaliar aplicativo", "Sair"]
          iconImage = [UIImage(named: "user")!,UIImage(named: "cupons")!, UIImage(named: "extrato")!, UIImage(named: "config")!, UIImage(named: "termos")!, UIImage(named: "contato")!, UIImage(named: "avaliar")!, UIImage(named: "sair")!]
          self.revealViewController().rearViewRevealWidth = self.view.frame.size.width - 60
      }
  
      func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          return menuNameArr.count
      }
      func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCell(withIdentifier: "MenuTableViewCell") as! MenuTableViewCell
  
          cell.imgIcon.image = iconImage[indexPath.row]
          cell.lblMenuName.text! = menuNameArr[indexPath.row]
          return cell
      }
      func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
  
      }
  
  
  }
  </code></pre>
  
  <p>From "Configurações" to "Sair" I want that part of the array to be the second part of the menu</p>