04

Here’s an easy to use caching library called CacheKit from David Beck that allows you to specify which objects are to be cached, and provides options for caching to memory, to disk or to a SQLite database.

Some of the features of CacheKit include:

  • Syntax similar to NSMutableDictionary or Cache
  • Expiration time support
  • Memory, Disk, SQLite caching
  • Error checking in case the object does not exist (such as if it was removed due to a memory warning)

For the caching to work your objects simple need to conform to NSCoding.

You can find CacheKit on Github here.