CocoaPods trunk is moving to be read-only. Read more on the blog, there are 9 months to go.

ASImageManager 1.0.2

ASImageManager 1.0.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2015

Maintained by Morgan Kennedy.



 
Depends on:
AsyncDisplayKit~> 1.0
SDWebImage~> 3.7
 

  • By
  • Morgan Kennedy

An already set up image download and cache manager to handle ASNetworkImageNode image caching and downloading on initialisation. Perfect for projects using Facebook's AsyncDisplayKit; the Image Manager utilises SDWebImage to handle both the async downloading, and image caching.

import header
#import "ASImageManager.h"
Usage on a ASNetworkImageNode
_imageNode = [[ASNetworkImageNode alloc] initWithCache:[ASImageManager sharedImageManager] downloader:[ASImageManager sharedImageManager]];
_imageNode.URL = [NSURL URLWithString:@"http://hello-kitty.sanriotown.com/images/kitty.png"];
[self.view addSubnode:_imageNode];