Simple example using SQLite.swift. Follow the link to their git repository for more information and further documentation. I went this route for a current project, mainly to use sqlite. I would normally opt for Realm.io since it now has good swift support.