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.

Need Your Help

How-to define Empty DataTemplate for the ItemsControl based controls like ListView or DataGrid

.net wpf xaml datatemplate itemscontrol

ASP.NET controls like ListView allows providing a custom template by setting the ListView.EmptyDataTemplate property, this template will be rendered in case of empty data source.

Emulation of lex like functionality in Perl or Python

python perl parsing lex

Here's the deal. Is there a way to have strings tokenized in a line based on multiple regexes?