iPhone Image Cache (Objective-C, 2009)

Version: 1.0 Author: Adrian Kosmaczewski Date: January 28th, 2009 Programming Languages: Objective-C Tools: Xcode Platforms: Mac OS X Leopard 10.5.6, iPhone OS 2.0+ Repository: Github License: None, public domain, whatever you want :)

This iPhone application is inspired on Alex Curylo’s article about the problems of UIImage’s imageNamed: method, and it shows how to:

  1. Bypass UIImage imageNamed: using a custom category;
  2. Use a fixed-size in-memory image cache, which can be emptied in case of memory warnings;
  3. How to add unit tests to an iPhone application using the Google Toolbox for Mac

More information!

Update, 2009-02-18: The code is now available at Github!