Where is the best SQLITE 3 tutorial iphone-sdk?

I am looking for a complete tutorial that not only tells me how to execute a query, but also how to set up the whole thing, including setting up a library, creating a database and so on.

Where can I find it?

Using SQLite 3 on the iPhone is no different from using it on any other platform. You should read the general SQLite documentation.

In your iPhone application, you usually open the SQLite database in the applicationDidFinishLaunching: method delegated by the application. After that, you can use the database.

I used Gus Mueller’s FMDatabase course on the iPhone. They provide a thin package around SQLite.

One last note: It seems that CoreData will be available on iPhones with operating system version 3. You can use SQLite through the CoreData framework.

I am looking for a complete tutorial that not only tells me how to execute a query, but also how to set up the whole thing, including setting up a library, creating a database and so on.

Where can I find it?

Using SQLite 3 on the iPhone is no different from using it on any other platform. You should read the general SQLite documentation.

In your iPhone application, you usually open the SQLite database in the applicationDidFinishLaunching: method delegated by the application. After that, you can use the database.

I used Gus Mueller’s FMDatabase course on the iPhone. They provide a thin package around SQLite.

One last note: It seems that CoreData will be available on iPhones with operating system version 3. You can use SQLite through the CoreData framework.

Leave a Comment

Your email address will not be published.