SQLite3 database example app.
This project also include basic DBManager sqlite class. This class is usable for any project. Class is flexiable and powerful.
- copy your project DBManager.h and DBManager.m
- import your class
- define a DBManager property
- initialize the property with database file name.
- Get data from database with DBMAnager method => "loadDataFromDBWithQuery:"
- Create query
- Call "executeQuery:" method. If select query executed, get array from database, Otherwise get affectedRows count.
It's just like that. Very simple to use your project.
Application UI: