Here’s another library for working with SQLite databases in swift called SQLite.swift from Stephen Celis with a nice simple syntax. A playground is included for interactively exploring SQLite.swift.

Some of the features of SQLite.swift as stated in the readme include:

  • Uncomplicated query and parameter binding interface
  • Safe, automatically-typed data access
  • Implicit commit/rollback interface
  • Developer-friendly error handling and debugging
  • Well-documented
  • Extensively tested

You can find SQLite.swift on Github here.