swift how to get self.tableView.reloadTable() when UITableViewController is not class type
<p>I have a normal view controller with a table view inside, so the class is just a normal <code>UIViewController</code>, therefor I am unable to call <code>self.tableView</code> with this. </p>

<p>I have an asynchronous call to create an array of Aircraft objects that is taken from an online database, but that is only completed after the table cells are initially loaded. I am trying to update the table cells after this asynchronous call is completed, but am unsure how to do so. </p>

<p>I do the async call in <code>viewDidLaod()</code>. Here is my current code that only displays the loading tags since the update has not taken place for the aircraft array.</p>

<pre><code>class AircraftViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {

let log = Logger( id: String(AircraftViewController.self) )
let dvc = DownloadViewController()
var aircraftArr = [Aircraft]()

override func viewDidLoad() {
    super.viewDidLoad()

    dvc.getMobileSystemOverviewHTML {
        dispatch_async(dispatch_get_main_queue()){
            self.aircraftArr = self.dvc.aircraft
            self.log.debug("\n\n\n\n\n \(self.aircraftArr) \n\n\n\n\n")
        }
    }
}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}

// MARK: - Table View Delegate Methods

func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
    return 3
}

func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
    let cell = tableView.dequeueReusableCellWithIdentifier("AircraftCell", forIndexPath: indexPath) as! AircraftCell


    if indexPath.row &lt; aircraftArr.count{
        let singleAircraft = aircraftArr[indexPath.row] as Aircraft
        cell.aircraft = singleAircraft
    } else {
        cell.aircraft = Aircraft(tailID: "Loading", aircraftSN: "Loading", Box_SN: "Loading")
    }

    return cell
}
</code></pre>