/ImageLoader

A lightweight and fast image loader for iOS.

Primary LanguageObjective-CMIT LicenseMIT

ImageLoader Build-Status GitHub-version platform license Test-Coverage

ImageLoader is an instrument for asynchronous image loading. It is a lightweight and fast image loader for iOS.

Features

  • Simple methods with UIImageView Category.
  • A module for cache can be set by yourself. hirohisa/Diskcached
  • Loading images is handled by ImageLoader, not UIImageView.
  • Easy to modify implementation from other modules
  • Comprehensive Unit Test Coverage

Requirements

  • iOS 5.0+

If your project's target is iOS 7.0+, use ImageLoaderSwift. It's A lightweight and fast image loader for iOS written in Swift.

Installation

There are two ways to use this in your project:

  • Copy the ImageLoader class files into your project

  • Install with CocoaPods to write Podfile

platform :ios
pod 'ImageLoader', '~> 0.1.9'

Modify implementation from other modules

impliment same methods

[imageView setImageWithURL:URL];
[imageView setImageWithURL:URL placeholderImage:nil];

AFNetworking

from:

#import <SDWebImage/UIImageView+WebCache.h>

to:

#import <ImageLoader/UIImageView+ImageLoader.h>

SDWebImage

from:

#import <AFNetworking/UIImageView+AFNetworking.h>

to:

#import <ImageLoader/UIImageView+ImageLoader.h>

License

ImageLoader is available under the MIT license.