iOS May I still use SQLite in iOS 5?

mikezang

macrumors 6502a
Original poster
May 22, 2010
772
1
Tokyo, Japan
I only used SQLite in my app since iOS 3, but I found there is no any information about SQLite in books about iOS 5 development.

I want to know if SQLite is no longer suitable for iOS 5? or Ihave to use Core Data in all my Apps? maybe it is too late to ask this question, but I hope that I can get a useful explanation.
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
Apple hasn't removed sqlite in iOS 5. I don't think there's ever been any real documentation of sqlite in iOS except for the header file and the sqlite.org web site.

I can't imagine that Apple would ever remove sqlite unless there was some major reason for it (licensing or quality). It's widely used inside the Apple frameworks. Core data is based on it.
 

mikezang

macrumors 6502a
Original poster
May 22, 2010
772
1
Tokyo, Japan
Apple hasn't removed sqlite in iOS 5. I don't think there's ever been any real documentation of sqlite in iOS except for the header file and the sqlite.org web site.

I can't imagine that Apple would ever remove sqlite unless there was some major reason for it (licensing or quality). It's widely used inside the Apple frameworks. Core data is based on it.
Do you think which is better to use Core Data or SQLite directly for a new project?
 

seepel

macrumors 6502
Dec 22, 2009
471
0
9 times out of 10 use CoreData. The only reason to use SQLite is if you need a massive speed boost to fetch/change in mass (like 10,0000+ objects).

As far as Apple removing SQLite, it won't happen, CoreData itself, by default uses SQLite. in order to use it you simply need to link the library.
 

mikezang

macrumors 6502a
Original poster
May 22, 2010
772
1
Tokyo, Japan
9 times out of 10 use CoreData. The only reason to use SQLite is if you need a massive speed boost to fetch/change in mass (like 10,0000+ objects).

As far as Apple removing SQLite, it won't happen, CoreData itself, by default uses SQLite. in order to use it you simply need to link the library.
Thanks for your suggestion, I will try to use Core Data for next project.