PleaseBaoMe

A useful tool to view SQLite file in web browser during app running procedure.

  • 所有者: callmewhy/PleaseBaoMe
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

PleaseBaoMe

A useful tool to view SQLite file in Web browser during app running procedure.

Why it's called PleaseBaoMe?

Viewing SQLite file in iOS developing brings a variety of inconvenience. Therefore, a visible and effective tool to view SQLite file is terriblydemanded.

Thanks CocoaHTTPServer for making this idea come true. Thanks Tonny for fixing grammar mistakes in README.md. Thanks my friend Mr.Bao, who has enlightened me to use DynamicServer to handle request.

So this project is named after him for showing gratitude.

In Chinese, 'Bao' means 'Hug', and represents purity and happiness.

Installation

There are three ways to use PleaseBaoMe in your project:

  • using Cocoapods
  • copying all the files into your project

With Cocoapods

Podfile:

pod "PleaseBaoMe"

Copying all the files

All needed files are in "Classes" folder. And all dependencies are in "FMDB" folder. You can copy them into your project to import PleaseBaoMe.

How To Use

You can see the sample code in Demo project.

Step1: start

You can start the serve by using:

[PBMTool start];

Step2: setup

Then please set file path for your database file:

[PBMTool setDBFilePath:writableDBPath];

Step3: finish

Run your app, you will see the following log in console:

You can see you SQLite in 192.168.xxx.xx:12345

Copy and paste the address to your browser's address bar and press enter key, you will see the entire database in your browser.

Function

Input SQL in URL

You can input your SQL query in the URI just like this:

http://192.168.xxx.xx:12345/SELECT * from test_table

Convenient Filter

You can set TableName、 LIMIT、 OFFSET in navigation bar easily.

License

MIT

主要指標

概覽
名稱與所有者callmewhy/PleaseBaoMe
主編程語言Objective-C
編程語言Objective-C (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2015-07-10 01:33:08
推送於2015-08-28 06:54:54
最后一次提交2015-08-28 14:54:34
發布數2
最新版本名稱1.1 (發布於 2015-08-28 14:54:41)
第一版名稱1.0 (發布於 2015-07-10 21:41:56)
用户参与
星數246
關注者數4
派生數17
提交數31
已啟用問題?
問題數1
打開的問題數0
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?