Which is best data storage type to store data received from server?
I have certain data that is received from the server, I call it History. Everytime I visit some website, I have to save the URL in the History list. The list will be displayed in a table later on, for the user to view. What data storage type should I use on iPhone? Can this list be stored in NSUserDefaults or I have to use CoreData?
If the Data you plan on storing is simple, then NSUserDefaults will work fine. If it's complex, then core data or sqlite are some alternatives.
Here is a great post on storage options: What are the limitations of NSUserDefaults?
Here is another post that talks about things you need to do if you are working with complex data and want to store it with NSUserDefaults.