title: reloadData() isn't work in swift
body: <p>So, I have trouble - can't reloadData of TableView, in command line I see good data - when I click button <code>idMeet</code> is changed, but in Simulator I don't see refresh table view after click on the button, and <code>idMeet</code> is changed and my query is changed too. I understand that I must use <code>tableView.reloadData()</code>, but don't understand where write it for correct working?</p>
  
  <pre><code>    var x = true;
  
          @IBOutlet weak var myButton: UIButton!
          @IBOutlet var tbRouteData: UITableView!
          @IBAction func act(sender: UIButton) {
              x = !x
              getInfo()
          }
  
          override func viewDidLoad() {
              super.viewDidLoad()
          }
  
          override func viewWillAppear(animated: Bool) {
              self.getTmp()
          }
  
          func getInfo() -&gt; NSMutableArray {
              sharedInstance.database!.open()
           var idMeet: Int
           if x {
                  idMeet = 1
              } else {
                  idMeet = 2
              }
  
              print(idroute)
  
              let selectInfo: FMResultSet! = sharedInstance.database!.executeQuery("SELECT * FROM t1 AS one JOIN t2 AS two ON (one.id = two.id AND two.line_id = ?) ORDER BY two.position ASC", withArgumentsInArray: [idMeet])
      ...
              return tmp
          }
  
      func getTmp(){
  
          infoTmp = NSMutableArray()
          infoTmp = getInfo()
      }
  
  
      // MARK: - Table view data source
  
      override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
  
          return infoTmp.count
      }
  
   override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
  
          let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! PrivateCell
  
          let my:Info = infoTmp.objectAtIndex(indexPath.row) as! Info
          cell.listOfStop.text = my.Name.uppercaseString
          return cell
      }
  </code></pre>