I’ve mentioned a number of caching projects that feature easy caching one of the most popular being SDWebImage which provides easy image downloading with built-in caching.
Here’s an excellent new open source project from Tumblr called TMCache. TMCache provides a key/value store that works with any with built-in memory and disk caching.
As the readme states:
TMCache is a key/value store designed for persisting temporary objects that are expensive to reproduce, such as downloaded data or the results of slow processing.
It is comprised of two self-similar stores, one in memory (TMMemoryCache) and one on disk (TMDiskCache), all backed by GCD and safe to access from multiple threads simultaneously.
On iOS, TMMemoryCache will clear itself when the app receives a memory warning or goes into the background.
Objects stored in TMDiskCache remain until you trim the cache yourself, either manually or by setting a byte or age limit.
You can find TMCache on Github here.
A very cool project, and probably the most useful all around open source caching library I’ve seen.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.