多线程

DispatchQueue.global(qos: .default).async{

            DispatchQueue.main.async {

            }

 }


DispatchQueue.main.async(execute: {

           self.movieOperations.downloadsInProgress.removeValue(forKey: indexPath)

           self.tableView.reloadRows(at: [indexPath], with: .fade)

 })

你可能感兴趣的:(多线程)