I am trying to create a reusable Cache Manager component which can be plugged into other iPhone projects. My cache manager should support caching of Screens(with data in them) as well as images. The primary idea would be to reduce network activity.
I am comparatively new to iPhone and have some basic iPhone programming knowledge. Please let me know of the following-
1. Am I thinking in the right direction?
2. Does iPhone architecture supports this kind of caching? If so, how?
3. Also, any pointers towards related iPhone code samples or URLs?
Thanks in advance for your time
Looks like you want to roll your own solution but I’ll recommend a project on Github to get you started with the code. SDWebImage has some great code for using the cache.
You are going to be dealing with the NSFileManager a lot. Specifically check out SDImageCache.m