Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mpramodjain

macrumors regular
Original poster
Nov 20, 2008
152
0
Banglore
Hi,

Do any one suggest what would be the best way to store the Cache the content , between application close and re-open.

As per the documents of iPhone sdk, I found the following as suitable ways :

i) Storing the content in the NSUserDefault, in the dictionary format and retrieve them with key-value pairs.

ii) Store the data in the sqlite database, which I think would slowdown the app, If I had a bit of large content to manipulate.

iii) Using CoreData.

iv) Using plists to store different datas.

Please share your views/experience on the above different approach, with regards to performance and other scenarios you have faced.

Thanks .
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.