Categories
swift

Loading image from URL with SWIFT

Found this snippet provided by a stackoverflow user helpful. It loads a remote image async. Helps with performance when loading several images over the network to populate your table cells . This snippet extends the UIImageView Class with an added method imageFromURL(urlString:String) extension UIImageView { public func imageFromUrl(urlString: String) { if let url = NSURL(string: […]