KImageView 0.1.7

KImageView 0.1.7

Maintained by Muhammad Maaz Ul Haq.



KImageView

CI Status Version License Platform

KImageView is a simple extension to the UIImageView to load images from URL asynchronously.

Installation

KImageView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'KImageView'

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

How to use

Declare an UIImageView IBOutlet

@IBOutlet weak var imageView: UIImageView!

self.imageView.image(from: "http://www.cartoon-clipart.co/amp/images/scooby-doo.png", errorImage: UIImage(named: "replaceWithErrorImage")

That's it.

Author

License

KImageView is available under the MIT license. See the LICENSE file for more info.