3.0
To run tasks on a dispatch queue, use the sync, async, and after methods.
To dispatch a task to a queue asynchronously:
let queue = DispatchQueue(label: "myQueueName")
queue.async {
//do something
DispatchQueue.main.async {
//this will be called in main t...