NPRImageView 1.0.1

NPRImageView 1.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total137
Week0
Month0

Installs

Apps4
powered by Segment

GitHub

Stars82
Watchers6
Forks13
Issues0
Contributors0
Pull Requests0

Code

Files4
LOCLines of Code 826


 
Depends on:
AFNetworking~> 1.3.2
libextobjc/EXTScope~> 0.3.0
 

  • By
  • Nico Prananta

Instagram-like UIImageView subclass. Progress view and activity view appear during image download. Support memory and disk caching. Inspired by FXImageView and Tapku's TKImageCache. Using AFNetworking.

Features

  1. Memory and disk caching
  2. Customizable progress view and activity view. Simply set your custom progress view and activity view.
  3. Tap image view to reload.
  4. Show network activity while downloading images.
  5. ARC.
  6. Very simple to use. Just one line of code. Or more.

Screenshots

Instagram like UIImageView

Instagram like UIImageView

Requirement

  1. AFNetworking
  2. libextobjc

After clone

git submodule update --init --recursive

How to use

  1. Import files inside Class folder to your project.
  2. Add AFNetworking to your project.
  3. Add EXTScope.h, EXTScope.m, and metamacros.h from libextobjc to your project.
  4. Simply call setImageWithContentsOfURL:placeholderImage: method.

License

NPRImageView is available under the MIT license, because it sounds cool and everybody's using it. See the License.txt file for more info.