Swift 3 Extension to UIImage to quickly retrieve image from a URL
I spent too long looking for a quick, non-deprecated solution to this simple problem this morning. Here’s what I came up with. Maybe it will save you a few minutes of searching. This is valid for Swift 3.