Tampilan Reload Swift
let queue = DispatchQueue(label: "com.lozzoc")
var backgroundTask = DispatchWorkItem {
var data = try? Data() ?? Data()
}
var updateUITask = DispatchWorkItem {
self.tableView.reloadData()
}
backgroundTask.notify(queue: DispatchQueue.main,
execute: updateUITask)
queue.async(execute: backgroundTask)
Sir Rivia