SQLite.viewer 2.1.0

SQLite.viewer 2.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release May 2018
SPMSupports SPM

Maintained by Orkhan Alikhanov.



 
Depends on:
Http.swift~> 2.1.1
SQLite.swift>= 0.11.5
 

  • By
  • Orkhan Alikhanov

Platform Cocoapods Compatible Build Status - Master

SQLite.viewer

An elegant library for viewing, editing, or debugging sqlite databases in iOS applications. Inspired by Android Debug Database.

SQLiteViewer demo

Features

  • List available databases
  • List tables
  • Run raw query

ToDo

  • Inserting rows
  • Editing rows
  • Deleting rows
  • New UI and UX

Usage

In AppDelegate.swift file, just start SQLiteViewer.

import UIKit
import SQLiteViewer

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        SQLiteViewer.shared.start()
        return true
    }
}

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate SQLite.viewer into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
target '<Your Target Name>' do
    pod 'SQLite.viewer', '~> 1.0', :configurations => ['Debug']
end

Then, run the following command:

$ pod install

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details