ImageLoader icon indicating copy to clipboard operation
ImageLoader copied to clipboard

A lightweight and fast image loader for iOS.

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

  • [x] Simple methods with UIImageView Category.
  • [x] A module for cache can be set by yourself. hirohisa/Diskcached
  • [x] Loading images is handled by ImageLoader, not UIImageView.
  • [x] Easy to modify implementation from other modules
  • [x] 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.