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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?