Still am using Coredata framework for iPhone applications. I want switch to use SQLite database in my applications. I know something basics in MySQL queries. Is our SQLite is related to MySQL or different? And also how we can integrate SQLite into XCode 4.2 and iPhone applications? I want to read something basics regarding SQLite database i used Google for Study material but, can’t get an exact one. And also i have visited W3Schools.com there they provided SQL queries. I started my study with there.
Can anyone please suggest how to implement SQLite in our iPhone projects? Where to learn about SQLite databse? Which version of SQLite current we are using in iOS 5?
Add sqlite3 lib to your project:
Select the target in your project setting page.
Click ‘Build phases’ tab,
Unfold ‘Link binary with library’,
Click ‘+’,
Then you can use the C API for sqlite.
There are Objective-C wrappers as well.