Skip to content

Instantly share code, notes, and snippets.

@mikru1688
Last active January 22, 2017 14:11
Show Gist options
  • Save mikru1688/23d23260886f46b4d30b74bad5c2cc7c to your computer and use it in GitHub Desktop.
Save mikru1688/23d23260886f46b4d30b74bad5c2cc7c to your computer and use it in GitHub Desktop.
// 建立Concurrent Queues,並建立同步和非同步的block
let concurrentQueue: DispatchQueue = DispatchQueue(label: "concurrentQueue", attributes: .concurrent)
serialQueue.async {
// 非同步化
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment