MFCache 0.0.1

MFCache 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



MFCache 0.0.1

  • By
  • Ken Matsui

MFCache is a simple / lightweight Cache API for iOS. It's built on plugin architecture. For example, here's how to cache any data.

// Save data into cache
NSArray *items = [NSArray array];
[MFCache setValue:items forKey:@"LoadedItems"];

// Save data with expiration time 
[MFCache setValue:items forKey:@"LoadedItems" expiration:60];

// Retrieve data from cache
NSArray *restoredItems = [MFCache valueForKey:@"LoadedItems"];

// Clear
[MFCache flushAll];

How To Get Started