QDImageView 0.0.1

QDImageView 0.0.1

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

Maintained by Unclaimed.



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.