views:

56

answers:

2

I'm trying to develop one iPhone App like the Recipes example of Apple, but I have one question? I want to show data that I have stored in a database, but I don't want user to add data or edit this information. I only want to show the data in a table view like name, description, image, etc. What's the best option? Core Data (and how I add the data) or Sqlite data base?

Thanks for all.

Jordi

+1  A: 

For such a simple use case, use Core Data. It is higher level, significantly easier to code for (no, really, it is), and the documentation is quite thorough, both from Apple and from third parties.

bbum
A: 

It almost sounds like you don't need a database at all. If the data is static and not very complex, one alternative would be to create a plist as part of your application bundle, and read that plist into an ‘NSArray‘ or ‘NSDictionary‘ using the technique in this question: http://stackoverflow.com/questions/1343121/plist-array-to-nsdictionary

Jim Flanagan