AFKLoadManager will help developers manage an arbitrary number of downloading operations via HTTP[S] asynchronously from an iOS app by: · Limiting the maximum number of downloads so as not to overload the connection · Performing all downloads asynchronously, without blocking your app, while managing errors for you · Calling an arbitrary selector when a download completes (successfully or not) · Passing along arbitrary HTTP parameters to the server (e.g.: Referer, etc.) · Saving data to file as it is being loaded to minimize memory consumption
The idea behind AFKLoadManager is to provide a little more functionality than the built in -xxxWithURL: methods. It`s simple and easy to use, uses only two classes and can be used on any iOS device.
Additionally, AFKLoadManager places all the downloads requested of it in a queue, allowing only a given number of them to occur at any given time (the default is five).
The usage is very simple: · Import AFKLoadManager.h · Call one of the download queueing methods in AFKLoadManager · Await a call to your block or callback method when the download is complete