Skip to content

mathcamp/lightbase

Repository files navigation

#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!