UIImage category, which simplifies loading of non-bundled images using [UIImage imageNamed:]
Objective-C
Latest commit ee629d3 May 28, 2012 @appsandwich first commit
Permalink
Failed to load latest commit information.
LICENSE.TXT first commit May 28, 2012
README.textile first commit May 28, 2012
UIImage+ASImage.h first commit May 28, 2012
UIImage+ASImage.m first commit May 28, 2012

README.textile

UIImage+ASImage

UIImage category, which simplifies loading of non-bundled images using [UIImage imageNamed:]

Usage

#import "UIImage+ASImage.h"

...


// To load a saved image from the "Caches" directory
UIImage *myCachedImage = [UIImage as_cachedImageNamed:@"image.png"];

// To load a saved image from the "Documents" directory
UIImage *myDocumentsImage = [UIImage as_documentsImageNamed:@"another_image.png"];


// Subsequent loading of the same images will use UIImage's system caching, which is nice... :)
UIImage *reallyCachedImage = [UIImage as_cachedImageNamed:@"image.png"];