I am going to explain you how to perform lazy loading with Image Cache using HJCache.It will cache your images according to your requirements. I have perform caching for 1 week.Now i am showing you the steps for achieving you task very simple way.
Step 1:Drag and Drop HJcache Classes into your Project(I have already Provided)
step 2: In Application Delegate Import “HJObjManager.h” file and Make an Object of It.
Step 3:In Application Delegate.m file @synthesize the Object write the following code for Image caching.
Step 4: Now import “HJManagedImageV.h” where you want to implement the lazy loading.
Step 5. Make the custom cell and Take UIView instead of UIImageview in your Custom cell and inherit Class “HJManagedImageV” as shown here.
Step 6: In use the Object of HJManagedImageV and provide the URL from your Array/Dictionary other things are managed by HJcache Object it self.
Now your task is getting completed.You can have the complete code by Clicking Here