Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

appsandwich/UIImage-ASImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"];

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published