Skip to content
An elegant library for debugging sqlite databases in iOS applications
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SQLite.viewer-Example
SQLiteViewer.xcodeproj
Screenshots
Sources
Tests/SQLiteViewerTests
.gitignore
.swift-version
.travis.yml
LICENSE
Podfile
README.md
SQLite.viewer.podspec

README.md

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

You can’t perform that action at this time.