0

This is for an iphone app. What's the best route that I should take? I have data and I would like to have it in my app and access it throughout the app in different ways search, title, state, etc.

I don't want the user to be able to modify it or delete it.

Should I use core data or SQLite or is there a better way?

Thank you

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Thomas rocks
  • 111
  • 1
  • 1
  • 13

1 Answers1

1

I personally would recommend using CoreData for its ease of use. CoreData, in fact, act as an abstraction layer over SQLite so, you don't need to actually write any SQL lines.

Take a look at the CoreData documentation from Apple so you can understand exactly what it is. Or, maybe, you can jump to their Tutorial for a "hands-on" explaining:

Core Data Tutorial for iOS

Also, I personally like to use tutorials from the Ray Wenderlich sites, like this one:

Core Data on iOS 5 Tutorial: Getting Started

(by the time of writing this, the Ray Wenderlich's site is under maintenance.. but check it out later.. it is pretty good!)

Jão
  • 469
  • 4
  • 15