In Swift 2, I was able to create queue with the following code:
let concurrentQueue = dispatch_queue_create("com.swift3.imageQueue", DISPATCH_QUEUE_CONCURRENT)
But this doesn't compile in Swift 3.
What is the preferred way to write this in Swift 3?
Creating a concurrent queue
Create a serial queue
Get main queue asynchronously
Get main queue synchronously
To get one of the background thread
Xcode 8.2 beta 2:
To get one of the background thread
If you want to learn about using these queues .See this answer