类似OC 中的GCD,只是调用方法不同,更方便,如下代码,功能为刷新tableview; DispatchQueue.main.async(execute: { self.listTableview.reloadData() })