Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
Created November 11, 2014 00:15
Show Gist options
  • Select an option

  • Save aGupieWare/22aec5371d00e1be2c0e to your computer and use it in GitHub Desktop.

Select an option

Save aGupieWare/22aec5371d00e1be2c0e to your computer and use it in GitHub Desktop.
Swift client, async dispatch . . .
self.dataSource = self.inventoryItems(data)
dispatch_async(dispatch_get_main_queue()!, { () -> Void in
self.tableView.reloadData()
self.webActivityIndicator.hidden = true
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment