title: Reload UITableview after back
body: <p>I have simple table on my View. Another view have array with some values. When I back, I want to reload table with new values, but dont work.</p>
  
  <p>My class:</p>
  
  <pre><code> let textCellIdentifier = "cell"
  var menu:[[String]] = [[]]
  var buscaEmp:BuscadorEmpresa = BuscadorEmpresa()
  
  
  @IBOutlet weak var tablaVista: UITableView!
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
      recuperaEmpresas()
      tablaVista.delegate = self
      tablaVista.dataSource = self
  
  }
  
  func recuperaEmpresas(){
  
        menu = buscaEmp.getEmpresas()
  }
  
  override func didReceiveMemoryWarning() {
      super.didReceiveMemoryWarning()
      // Dispose of any resources that can be recreated.
  }
  
  func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
      return 1
  }
  
  func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
  
      return menu.count
  }
  
  
  
  
  func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCellWithIdentifier(textCellIdentifier, forIndexPath: indexPath) as! CustomTableViewCell
  
      let row = indexPath.row
      cell.nombreEmp.text = menu[row][0]
      return cell
  
  }
  
  override func viewWillAppear(animated: Bool) {
      super.viewWillAppear(animated)
      recuperaEmpresas()
      tablaVista.reloadData()
  }
  </code></pre>
  
  <p>I use <code>viewWillAppear</code> to reload table before reopen the view.  </p>