Latest 1.0.1
Homepage https://github.com/nicnocquee/NPRImageView
License MIT
Platforms ios 5.0, requires ARC
Dependencies AFNetworking, libextobjc/EXTScope

NPRImageView

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.

Latest podspec

{
    "name": "NPRImageView",
    "version": "1.0.1",
    "summary": "Instagram-like UIImageView subclass. Progress view and activity view appear during image download. Support memory and disk caching.",
    "description": "Instagram-like UIImageView subclass. Progress view and activity view appear during image download. Support memory and disk caching. Inspired by [FXImageView](https://github.com/nicklockwood/FXImageView) and [Tapku](https://github.com/devinross/tapkulibrary)'s TKImageCache. Using AFNetworking.nn#### Featuresnn1. Memory and disk cachingn2. Customizable progress view and activity view. Simply set your custom progress view and activity view.n3. Tap image view to reload.n4. Show network activity while downloading images.n5. ARC.n6. Very simple to use. Just one line of code. Or more.",
    "homepage": "https://github.com/nicnocquee/NPRImageView",
    "license": {
        "type": "MIT",
        "file": "License.txt"
    },
    "authors": "Nico Prananta",
    "source": {
        "git": "https://github.com/nicnocquee/NPRImageView.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source_files": "Class",
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~> 1.3.2"
        ],
        "libextobjc/EXTScope": [
            "~> 0.3.0"
        ]
    }
}

Pin It on Pinterest

Share This