A Swifty database wrapper around SQLite
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Carthage/Checkouts
Example/Todotastic
HLDB.xcodeproj/project.xcworkspace/xcshareddata
HLDB/Lib
Nimble @ 7979ddb
Pods
Quick @ 5fb172b
SQLiteWrapper
fmdb @ 1b346b5
hldb-demo
hldb-iOSTests
hldb.playground
hldb.xcodeproj
hldb.xcworkspace
hldb
hldbTests
script
.DS_Store
.gitignore
.gitmodules
.travis.yml
Blob.swift
Cartfile
Cartfile.resolved
Entity.swift
LICENSE
README.html
README.md
hldb.podspec

README.md

#Lightbase

Carthage compatible CocoaPods version MIT License Platform iOS

Lightbase is a lightweight swifty wrapper for sqlite.

Using Lighbase, you can create, update and delete sqlite tables; you can insert, upsert, update, and delete rows; you can query over the database with all the sqlite filters and accumulators you've come to know and love; and you can verify that everything is saving properly using MD5 hashes. Best of all, you can do it simply and swift-ily!

Lightbase makes extensive use of reactive programming paradigms like Promises and Futures.

Installation

Coming Soon!

Usage Example

Playground

To get the program to recognize and import the hldb.framework, you first need to build the framework itself. To do this

  1. Open hldb.xcworkspace

  2. Select hldb-iOS framework as your scheme and build on a device. (this builds the framework)

  3. After this you should be able to use hldb.playground freely :)

Example project

Refer to our Example folder in the Lightbase repo for our example app 'Todotastic', a Todo App with a variety of gesture integrations. The example app demonstrates table and row manipulation, and is a great starting point for integrating Lightbase into your own projects!