[swift-dev] imageView does't show the image with Swift 3 and Xcode 8
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 =
[swift-dev] DispatchQueue function in Swift 3.0
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 =