An elegant library for debugging sqlite databases in iOS applications
An elegant library for viewing, editing, or debugging sqlite databases in iOS applications. Inspired by Android Debug Database.
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
}
}
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
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details