An elegant library for viewing, editing, or debugging sqlite databases in iOS applications. Inspired by Android Debug Database.
- List available databases
- List tables
- Run raw query
- Inserting rows
- Editing rows
- Deleting rows
- New UI and UX
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
- Orkhan Alikhanov - Initial work - OrkhanAlikhanov
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