TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
pod 'QDImageView', '~> 0.0.1'
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"]];
[[QDImageDownloader sharedDownloader] getImageWithUrl:url needCache:needCache completion:^(UIImage *result, NSError *error, NSURL *url) {
//do stuff
}];
You can use QDImageView in your reusable components (cells for example) without flickering.
QDImageView is available under the MIT license. See the LICENSE file for more info.