Here is a simple UIImageView
extension to load image from URL
Paramaters
-
url: NSURL
Location of remote image
-
placeHolder: UIImage?
= nil
Image to be set if remote image is not available
-
completionHandler: (success: Bool) -> ())?
= nil
Optional handler invoked after the image is set
Extension