Does anyone know the equivalent function of DispatchQueue in Swift 3.0?
Thanks in advance.
For the DispatchQueue, the swift 3 has changed it's properties.
The code for swift 2.xx looks like this:
let priority = DispatchQueue.Global
I recently migrated my app to Swift 3 and Xcode 8.
The imageView didn't show the image if I re-open the app.
I used viewWillAppear() for this function. The code is as below:
let imageUrl: NSURL = NSURL(string: "\(userDefaults.string(forKey:
"avatar_url")!)")!
let imageData:NSData = NSData(conten