AFNetworking/AFNetworking — pull request #117 by berikv (2011-11-18 20:09:06+00:00)
Title: AFRemoteImageView

Dear Mattt, Sco,

Some time ago I wrote a subclass of UIImageView that is capable of downloading images from the web. Back then it used ASI, I rewrote the implementation to AFNetworking after Ben Copsey announced the end of support for ASI.
This UIImageView subclass saved the project a lot of redundant coding, and made it easy to switch implementations. Because we are now using AFNetworking for all the HTTP communications in the app, I would like to share the subclass with your project.

There already is a UIImageView+AFNetworking category in the AFNetworking project. And as a first attempt, I tried to extend this category to support the features I liked from my original implementation. This work can be viewed at https://github.com/berikv/AFNetworking/tree/UIImageView

Unfortunately categories are not made for such tasks. And although the code works, I decided to do a subclass implementation analogous to the one I originally made. This is what I would like to offer to your project.

Kind regards,
Berik Visschers