Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

getsling/GVCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GVCache

A clone of EGOCache, but with the added method:

- (NSTimeInterval)ageForKey:(NSString *)key;

This method makes it possible to create a "rolling cache", exactly as we do with the LastFm library in Last.fm's Scrobbler for iOS app.

GVCache was created with a new name so a CocoaPods podspec could be shared independently from EGOCache.

Deprecated

EGOCache has added a new dateForKey: method since I've created GVCache. I would thus suggest that you'd use EGOCache.

About EGOCache 2.0

EGOCache is a simple, thread-safe key value cache store. It has native support for NSString, UI/NSImage, and NSData, but can store anything that implements . All cached items expire after the timeout, which by default, is one day.