Latest 1.0.0
Homepage https://github.com/diegocfreire/DCFSQLite
License MIT
Authors

Build Status

DCFSQLite – Library for easy access, execution of commands and queries in mobile iOS applications using SQLite.

BEFORE

You need to import SQLite3 framework.
Frameworks-> Add existing framework->libsql3.dylib

HOW TO USE

# import "DCFSQLite.h"

//Init database 
[DCFSQLite initDB:@"myapp.db"];

// To create, insert, update and delete
BOOL ok = [DCFSQLite execSQL:@"INSERT INTO Customer (name, email) VALUES ('Diego', '[email protected]')"];

//OR
BOOL ok = [DCFSQLite execSQL:@"INSERT INTO Customer (name, email) VALUES (?, ?)", @"Diego", @"[email protected]"];

//For get result queryes
NSArray *qryResult = [DCFSQLite getRows:@"SELECT * FROM Customer"];

Latest podspec

{
    "name": "DCFSQLite",
    "version": "1.0.0",
    "summary": "DCFSQLite is an Objective-C wrapper to SQLite making it easy to use the database.",
    "homepage": "https://github.com/diegocfreire/DCFSQLite",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Diego C. Freire": "[email protected]"
    },
    "social_media_url": "http://br.linkedin.com/pub/diego-freire/72/527/881",
    "source": {
        "git": "https://github.com/diegocfreire/DCFSQLite.git",
        "tag": "v1.0.0"
    },
    "source_files": [
        "DCFSQLite.h",
        "DCFSQLite.m"
    ],
    "libraries": "sqlite3",
    "requires_arc": true
}

Pin It on Pinterest

Share This