Latest 0.0.1
Homepage https://github.com/quaddef/QDImageView
License MIT
Platforms ios 6.0, requires ARC

Installation

pod 'QDImageView', '~> 0.0.1'

How to use QDImageView

QDImageView *qdImageView = [[QDImageView alloc] initWithFrame:CGRectMake(0.0, 0.0, 100.0, 100.0)];
[qdImageView setPlaceholder:[UIImage imageNamed:@"placeholder"]];
[qdImageView setImageWithURL:[NSURL URLWithString:@"https://avatars0.githubusercontent.com/u/5310289?s=460"]];

How to use QDImageDownloader

[[QDImageDownloader sharedDownloader] getImageWithUrl:url needCache:needCache completion:^(UIImage *result, NSError *error, NSURL *url) {
        //do stuff
    }];

Info

You can use QDImageView in your reusable components (cells for example) without flickering.

Licence

QDImageView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "QDImageView",
    "version": "0.0.1",
    "license": "MIT",
    "summary": "NSURLImage and images downloader",
    "homepage": "https://github.com/quaddef/QDImageView",
    "authors": "quaddef",
    "social_media_url": "https://twitter.com/quaddef",
    "source": {
        "git": "https://github.com/quaddef/QDImageView.git",
        "tag": "0.0.1"
    },
    "source_files": "Classes/*.{h,m}",
    "requires_arc": true,
    "platforms": {
        "ios": "6.0"
    }
}

Pin It on Pinterest

Share This