How can I use FMDB as a platform in an iPad app?

I am currently developing an application for the iPad. At one stage there is a series of sliders and buttons, when you press a button, it stores the value of the slider in the table. First of all, I need to use SQLite to manage the database. I found a project called FMDB, which is a shell for SQLite for iPhone / Mac applications. I am new to iOS / Objective-c developmentpment and want to know how you add FMDB (or FMDB framework) to the application.

-Tristan

+4
source share
1 answer

Download the FMDB source here: https://github.com/ccgus/fmdb

To import the src folder, you can simply drag and drop it into the Xcode project navigator. At the command prompt, check to copy the files. You can then rename the folder from src to FMDB and possibly create another folder to categorize external libraries.

Remember to include libsqlite3.dylib in your project. To do this, click on your project in the navigator, click on the project name under TARGETS and go to the "Phase Assembly" tab. Expand Link Binary With Libraries and click the + button to add it.

+15
source

All Articles