does code execute on the main thread swift code example Example: main thread swift DispatchQueue.main.async { self.tableView.reloadData() }