UIImageViewCached: a simple way to load and cache network images for UIImageView
It is common in iOS apps to have default images for things like profiles, and then replace them from network with the actual images. And it should also work when offline: when the cached image is available, it should be used instead of going to the network again (and failing when there is no network).
Existing libraries like Three20 have these facilities, but I don’t like their compiler warnings and am trying to decouple from them. I did not find a nice standalone class, and ASIHTTPRequest recently added a great caching facility.
So I took their caching and built a simple add-on for UIImageView that simply loads and caches the image from network. See UIImageViewCached in Github.
Bonus points if you can tell what’s the example image.
