[![CI Status](http://img.shields.io/travis/Joakim Gyllstrom/URLImageCache.svg?style=flat)](https://travis-ci.org/Joakim Gyllstrom/URLImageCache)
To run the example project, clone the repo, and run pod install
from the Example directory first.
import URLImageCache
Fetch an image:
URLImageCache.imageForURL(imageURL, completion: { (image) -> () in
// Do something with image?
})
Using the UIImageView extension
// Set image with an URL
imageView.bs_setImageWithURL(imageURL)
// Use an optional placeholder while fetching
imageView.bs_setImageWithURL(imageURL, placeholder: UIImage(named: "troll"))
Using cocoapods...if I push the podspec to trunk.
Joakim Gyllström, joakim@backslashed.se
URLImageCache is available under the MIT license. See the LICENSE file for more info.