View Full Version : SQLite linking/retrieving from a database help

Aug 31, 2008, 08:59 PM
I'm new to Programming on a Mac platform and on the OS X / SDK
so forgive me if this isn't blatantly obvious
i am designing an app that connects to a database to display its contents
after researching it a bit, and even playing around in the CoreData interface, I read this from Apple's Developer Page:

"How do I bundle an SQLite database with my application?

Add the existing database file to your Xcode project as you would any other resource file by dragging it to the "Resources" group in the project's Files view. When prompted, make sure you add it to the appropriate Target (if your project has more than one). The file will be copied into the application bundle when you build your project.

This is all you need to do if your database is meant to be read-only."

So I designed a Database in SQLite, and imported it into the Project

How do I link it, and display it on either a table view controller or even a label.