I believe I\'m having an issue where my closure is happening on a background thread and my UITableView isn\'t updating fast enough. I am making a call to a REST service and
UIKit isn't thread safe. The UI should only be updated from main thread:
dispatch_async(dispatch_get_main_queue()) { self.tableView.reloadData() }
Update. In Swift 3 and later use:
DispatchQueue.main.async { self.tableView.reloadData() }