Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hampusborgos/hnimagelibrary
An simple image library that stores UIImages in a persistent way with caching
https://github.com/hampusborgos/hnimagelibrary
Last synced: 8 days ago
JSON representation
An simple image library that stores UIImages in a persistent way with caching
- Host: GitHub
- URL: https://github.com/hampusborgos/hnimagelibrary
- Owner: hampusborgos
- License: mit
- Created: 2013-06-01T08:48:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-01T09:06:52.000Z (over 11 years ago)
- Last Synced: 2023-03-25T13:13:00.920Z (over 1 year ago)
- Language: Objective-C
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
HNImageLibrary
==============An simple image library that stores UIImages in a persistent way with caching.
This allows you to put away your images (thumbnails, previews) somewhere where you
don't really care where they are and they will be retrievable at any time.This is not a cache, it will store images on disk forever if you do not remove them.
If you want a cache check out [JMImageCache](https://github.com/jakemarsh/JMImageCache).Usage
=============
Put an image in the library:[[HNImageLibrary libraryWithName:@"MyLibrary"] setImage:img forKey:@"Awesome"];
Retrieve an image from the same library:
[[HNImageLibrary libraryWithName:@"MyLibrary"] imageForKey:@"Awesome"];
That's all there is to it! The header file is well-commented so if you have any
questions look in there.