Skip to content

Commit ba1d557

Browse files
committed
Update for 1.3.3
1 parent 00f492f commit ba1d557

File tree

7 files changed

+41
-37
lines changed

7 files changed

+41
-37
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [1.3.3](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.3.3) (10/18/2019)
2+
3+
### Add `Html` function.
4+
5+
You can debug HTML pages through `WKWebView`, `UIWebView` or your customized `ViewController` in your app at any time.
6+
7+
#### Add
8+
9+
* Now `LLURLProtocol` can correctly observe `WKWebView`.
10+
111
## [1.3.2](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.3.2) (09/29/2019)
212

313
### Add `Ruler`, `Widget Border` function.

LLDebugTool.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "LLDebugTool"
3-
s.version = "1.3.2"
3+
s.version = "1.3.3"
44
s.summary = "LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations."
55
s.homepage = "https://github.com/HDB-Li/LLDebugTool"
66
s.license = "MIT"

LLDebugTool/DebugTool/LLDebugTool.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ - (void)initial {
163163
// Set Default
164164
_isBetaVersion = NO;
165165

166-
_versionNumber = @"1.3.2";
166+
_versionNumber = @"1.3.3";
167167

168168
_version = _isBetaVersion ? [_versionNumber stringByAppendingString:@"(BETA)"] : _versionNumber;
169169

LLDebugToolDemo.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,6 +2610,7 @@
26102610
INFOPLIST_FILE = LLDebugToolDemo/Info.plist;
26112611
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
26122612
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
2613+
MARKETING_VERSION = 1.3.3;
26132614
PRODUCT_BUNDLE_IDENTIFIER = myCompany.HDB.LLDebugToolDemo;
26142615
PRODUCT_NAME = "$(TARGET_NAME)";
26152616
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -2630,6 +2631,7 @@
26302631
INFOPLIST_FILE = LLDebugToolDemo/Info.plist;
26312632
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
26322633
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
2634+
MARKETING_VERSION = 1.3.3;
26332635
PRODUCT_BUNDLE_IDENTIFIER = myCompany.HDB.LLDebugToolDemo;
26342636
PRODUCT_NAME = "$(TARGET_NAME)";
26352637
PROVISIONING_PROFILE_SPECIFIER = "";

LLDebugToolDemo/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.3.2</string>
20+
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>

README-cn.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44

55
[![Version](https://img.shields.io/badge/iOS-%3E%3D8.0-f07e48.svg)](https://img.shields.io/badge/iOS-%3E%3D8.0-f07e48.svg)
6-
[![CocoaPods Compatible](https://img.shields.io/badge/Pod-v1.3.2-blue.svg)](https://img.shields.io/badge/Pod-v1.3.2-blue.svg)
6+
[![CocoaPods Compatible](https://img.shields.io/badge/Pod-v1.3.3-blue.svg)](https://img.shields.io/badge/Pod-v1.3.3-blue.svg)
77
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
88
[![Platform](https://img.shields.io/badge/Platform-iOS-lightgrey.svg)](https://img.shields.io/badge/Platform-iOS-lightgrey.svg)
99
[![License](https://img.shields.io/badge/License-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
@@ -27,7 +27,7 @@ LLDebugTool是一款针对开发者和测试者的调试工具,它可以帮助
2727
<div align="left">
2828
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/screenGif.gif" width="20%"></img>
2929
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-Screenshot.gif" width="20%"></img>
30-
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-1.3.2.gif" width="20%"></img>
30+
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-Screenshot2.gif" width="20%"></img>
3131
</div>
3232

3333
#### 预览
@@ -45,23 +45,15 @@ LLDebugTool是一款针对开发者和测试者的调试工具,它可以帮助
4545
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenShot-10.png" width="18%"> </img>
4646
</div>
4747

48-
## 最近更新 (1.3.2)
48+
## 最近更新 (1.3.3)
4949

50-
### 新增 `格尺``元素边框` 功能。
50+
### 新增 `Html` 功能。
5151

52-
格尺功能:方便的工具显示触点信息。
53-
54-
元素边框功能:显示元素边框,方便查看视图的Frame信息。
52+
你可以在你的app中随时调试通过 `WKWebView``UIWebView` 或者你自定义的`ViewController`来调试html页面。
5553

5654
#### 新增
5755

58-
* 添加 `LLSettingManager` 来控制工具中的一些设置,您可以动态配置 `LLConfig` 的选项,而无需重新打包。
59-
60-
* 添加 `Hierarchy Detail Info` 功能,显示更多目标视图的详细信息。类似于XCode中的 `Debug View Hierarchy` 功能。
61-
62-
#### 删除
63-
64-
* 删除所有xib文件,这会浪费编译时间。相反,您需要引入[Masonry](https://github.com/snapkit/Masonry)
56+
* 现在 `LLURLProtocol` 可以正确的监听 `WKWebView`
6557

6658
## 我能用LLDebugTool做什么?
6759

@@ -96,15 +88,15 @@ LLDebugTool是一款针对开发者和测试者的调试工具,它可以帮助
9688
##### Objective - C
9789

9890
> 1. 添加 `pod 'LLDebugTool' , '~> 1.0.0'` 到你的Podfile里。
99-
> 2. 如果只想在Debug模式下使用,则添加`pod 'LLDebugTool' , '~> 1.0.0' ,:configurations => ['Debug']` 到你的Podfile里,详细的配置方式可以查看[Wiki/如何仅在Debug环境中使用](https://github.com/HDB-Li/LLDebugTool/wiki/如何仅在Debug环境中使用)。如果你想要指定某个版本,可以类似这样使用 `pod 'LLDebugTool' , '1.3.2' ,:configurations => ['Debug']`
91+
> 2. 如果只想在Debug模式下使用,则添加`pod 'LLDebugTool' , '~> 1.0.0' ,:configurations => ['Debug']` 到你的Podfile里,详细的配置方式可以查看[Wiki/如何仅在Debug环境中使用](https://github.com/HDB-Li/LLDebugTool/wiki/如何仅在Debug环境中使用)。如果你想要指定某个版本,可以类似这样使用 `pod 'LLDebugTool' , '1.3.3' ,:configurations => ['Debug']`
10092
> 3. 推荐的方式是采用多Target来处理,只在Debug Target中添加`pod 'LLDebugTool' , '~> 1.0.0'`,这样做的好处既不污染Product环境的代码,又可以在Archive Debug环境的App时,将`LLDebugTool`集成进去(如果采用`:configurations => ['Debug']`的方式,只能通过XCode运行,不可以Archive成App)。
10193
> 4. 终端输入`pod install`来进行集成。搜索不到`LLDebugTool`或者搜不到最新版本时,可先运行`pod repo update`,再执行`pod install`
10294
> 5. 在你需要使用LLDebugTool的文件里添加`#import "LLDebug.h"`,或者直接在pch文件中添加`#import "LLDebug.h"`
10395
10496
##### Swift
10597

10698
> 1. 添加 `pod 'LLDebugToolSwift' , '~> 1.0.0'` 到你的Podfile里。
107-
> 2. 如果只想在Debug模式下使用,则添加`pod 'LLDebugToolSwift' , '~> 1.0.0' ,:configurations => ['Debug']` 到你的Podfile里,详细的配置方式可以查看[Wiki/如何仅在Debug环境中使用](https://github.com/HDB-Li/LLDebugTool/wiki/如何仅在Debug环境中使用)。如果你想要指定某个版本,可以类似这样使用 `pod 'LLDebugToolSwift' , '1.3.2' ,:configurations => ['Debug']`
99+
> 2. 如果只想在Debug模式下使用,则添加`pod 'LLDebugToolSwift' , '~> 1.0.0' ,:configurations => ['Debug']` 到你的Podfile里,详细的配置方式可以查看[Wiki/如何仅在Debug环境中使用](https://github.com/HDB-Li/LLDebugTool/wiki/如何仅在Debug环境中使用)。如果你想要指定某个版本,可以类似这样使用 `pod 'LLDebugToolSwift' , '1.3.3' ,:configurations => ['Debug']`
108100
> 3. 推荐的方式是采用多Target来处理,只在Debug Target中添加`pod 'LLDebugToolSwift' , '~> 1.0.0'`,这样做的好处既不污染Product环境的代码,又可以在Archive Debug环境的App时,将`LLDebugToolSwift`集成进去(如果采用`:configurations => ['Debug']`的方式,只能通过XCode运行,不可以Archive成App)。
109101
> 4. 必须在Podfile中添加 **`use_frameworks!`**
110102
> 5. 终端输入`pod install`来进行集成。搜索不到`LLDebugToolSwift`或者搜不到最新版本时,可先运行`pod repo update`,再执行`pod install`
@@ -346,10 +338,14 @@ LLDebugTool提供了一个格尺工具,用于便捷的获取和对比位置信
346338

347339
LLDebugTool提供了一个元素边框工具,便捷的查看元素边框及位置。
348340

341+
### HTML
342+
343+
LLDebugTool可以在你的app中随时调试通过 `WKWebView``UIWebView` 或者你自定义的`ViewController`来调试html页面。
344+
349345
### 更多使用
350346

351347
* 你可以通过查看[Wiki](https://github.com/HDB-Li/LLDebugTool/wiki),获得更多帮助。
352-
* 你可以下载并运行[LLDebugToolDemo](https://github.com/HDB-Li/LLDebugTool/archive/master.zip)[LLDebugToolSwiftDemo](https://github.com/HDB-Li/LLDebugToolSwift/archive/master.zip)来发现LLDebugTool的更多使用方式。Demo是在MacOS 10.14.6,XCode 11.0,iOS 13.0,CocoaPods 1.7.5下运行的,如果有任何版本兼容问题,请告诉我。
348+
* 你可以下载并运行[LLDebugToolDemo](https://github.com/HDB-Li/LLDebugTool/archive/master.zip)[LLDebugToolSwiftDemo](https://github.com/HDB-Li/LLDebugToolSwift/archive/master.zip)来发现LLDebugTool的更多使用方式。Demo是在MacOS 10.15,XCode 11.1,iOS 13.0,CocoaPods 1.8.4下运行的,如果有任何版本兼容问题,请告诉我。
353349

354350
## 要求
355351

README.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44

55
[![Version](https://img.shields.io/badge/iOS-%3E%3D8.0-f07e48.svg)](https://img.shields.io/badge/iOS-%3E%3D8.0-f07e48.svg)
6-
[![CocoaPods Compatible](https://img.shields.io/badge/pod-v1.3.2-blue.svg)](https://img.shields.io/badge/pod-v1.3.2-blue.svg)
6+
[![CocoaPods Compatible](https://img.shields.io/badge/pod-v1.3.3-blue.svg)](https://img.shields.io/badge/pod-v1.3.3-blue.svg)
77
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
88
[![Platform](https://img.shields.io/badge/Platform-iOS-lightgrey.svg)](https://img.shields.io/badge/Platform-iOS-lightgrey.svg)
99
[![License](https://img.shields.io/badge/License-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
@@ -27,7 +27,7 @@ Choose LLDebugTool for your next project, or migrate over your existing projects
2727
<div align="left">
2828
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/screenGif.gif" width="20%"></img>
2929
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-Screenshot.gif" width="20%"></img>
30-
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-1.3.2.gif" width="20%"></img>
30+
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-Screenshot2.gif" width="20%"></img>
3131
</div>
3232

3333
#### Preview
@@ -45,23 +45,15 @@ Choose LLDebugTool for your next project, or migrate over your existing projects
4545
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenShot-10.png" width="18%"> </img>
4646
</div>
4747

48-
## What's new in 1.3.2
48+
## What's new in 1.3.3
4949

50-
### Add `Ruler`, `Widget Border` function.
50+
### Add `Html` function.
5151

52-
Ruler function : Convenient tools to display touch point information.
53-
54-
Widget Border function : Display element border, convenient to see the view's frame.
52+
You can debug HTML pages through `WKWebView`, `UIWebView` or your customized `ViewController` in your app at any time.
5553

5654
#### Add
5755

58-
* Add `LLSettingManager` to control some settings in tool, you can configure `LLConfig`'s options dynamically without re-archiving.
59-
60-
* Add `Hierarchy Detail Info` function to show more detail info of target view. Similar to `Debug View Hierarchy` function in XCode.
61-
62-
#### Remove
63-
64-
* Remove all xib files, it wastes compilation time. In contrast, you need to introduce [Masonry](https://github.com/SnapKit/Masonry) lib.
56+
* Now `LLURLProtocol` can correctly observe `WKWebView`.
6557

6658
## What can you do with LLDebugTool?
6759

@@ -96,15 +88,15 @@ Widget Border function : Display element border, convenient to see the view's fr
9688
##### Objective - C
9789

9890
> 1. Add a pod entry for LLDebugTool to your Podfile `pod 'LLDebugTool' , '~> 1.0.0'`.
99-
> 2. If only you want to use it only in Debug mode, Add a pod entry for LLDebugTool to your Podfile `pod 'LLDebugTool' , '~> 1.0.0' ,:configurations => ['Debug']`, Details also see [Wiki/Use in Debug environment](https://github.com/HDB-Li/LLDebugTool/wiki/Use-in-Debug-environment). If you want to specify the version, use as `pod 'LLDebugTool' , '1.3.2' ,:configurations => ['Debug']`.
91+
> 2. If only you want to use it only in Debug mode, Add a pod entry for LLDebugTool to your Podfile `pod 'LLDebugTool' , '~> 1.0.0' ,:configurations => ['Debug']`, Details also see [Wiki/Use in Debug environment](https://github.com/HDB-Li/LLDebugTool/wiki/Use-in-Debug-environment). If you want to specify the version, use as `pod 'LLDebugTool' , '1.3.3' ,:configurations => ['Debug']`.
10092
> 3. The recommended approach is to use multiple targets and only add `pod 'LLDebugTool', '~> 1.0.0'` to Debug Target. This has the advantage of not contamiling the code in the Product environment and can be integrated into the App in the Archive Debug environment (if `:configurations => ['Debug']`, it can only run through XCode. It is not possible to Archive as an App).
10193
> 4. Install the pod(s) by running `pod install`. If you can't search `LLDebugTool` or you can't find the newest release version, running `pod repo update` before `pod install`.
10294
> 5. Include LLDebugTool wherever you need it with `#import "LLDebug.h"` or you can write `#import "LLDebug.h"` in your .pch in your .pch file.
10395
10496
##### Swift
10597

10698
> 1. Add a pod entry for LLDebugToolSwift to your Podfile `pod 'LLDebugToolSwift' , '~> 1.0.0'`.
107-
> 2. If only you want to use it only in Debug mode, Add a pod entry for LLDebugToolSwift to your Podfile `pod 'LLDebugToolSwift' , '~> 1.0.0' ,:configurations => ['Debug']`, Details also see [Wiki/Use in Debug environment](https://github.com/HDB-Li/LLDebugTool/wiki/Use-in-Debug-environment). If you want to specify the version, use as `pod 'LLDebugToolSwift' , '1.3.2' ,:configurations => ['Debug']`.
99+
> 2. If only you want to use it only in Debug mode, Add a pod entry for LLDebugToolSwift to your Podfile `pod 'LLDebugToolSwift' , '~> 1.0.0' ,:configurations => ['Debug']`, Details also see [Wiki/Use in Debug environment](https://github.com/HDB-Li/LLDebugTool/wiki/Use-in-Debug-environment). If you want to specify the version, use as `pod 'LLDebugToolSwift' , '1.3.3' ,:configurations => ['Debug']`.
108100
> 3. The recommended approach is to use multiple targets and only add `pod 'LLDebugToolSwift', '~> 1.0.0'` to Debug Target. This has the advantage of not contamiling the code in the Product environment and can be integrated into the App in the Archive Debug environment (if `:configurations => ['Debug']`, it can only run through XCode. It is not possible to Archive as an App).
109101
> 4. Must be added in the Podfile **`use_frameworks!`**.
110102
> 5. Install the pod(s) by running `pod install`. If you can't search `LLDebugToolSwift` or you can't find the newest release version, running `pod repo update` before `pod install`.
@@ -346,10 +338,14 @@ LLDebugTool provides a convenient tools to display touch point information.
346338

347339
LLDebugTool provides a function to display element border, convenient to see the view's frame.
348340

341+
### HTML
342+
343+
LLDebugTool can debug HTML pages through `WKWebView`, `UIWebView` or your customized `ViewController` in your app at any time.
344+
349345
### More Usage
350346

351347
* You can get more help by looking at the [Wiki](https://github.com/HDB-Li/LLDebugTool/wiki).
352-
* You can download and run the [LLDebugToolDemo](https://github.com/HDB-Li/LLDebugTool/archive/master.zip) or [LLDebugToolSwiftDemo](https://github.com/HDB-Li/LLDebugToolSwift/archive/master.zip) to find more use with LLDebugTool. The demo is build under MacOS 10.14.6, XCode 11.0, iOS 13.0, CocoaPods 1.7.5. If there is any version compatibility problem, please let me know.
348+
* You can download and run the [LLDebugToolDemo](https://github.com/HDB-Li/LLDebugTool/archive/master.zip) or [LLDebugToolSwiftDemo](https://github.com/HDB-Li/LLDebugToolSwift/archive/master.zip) to find more use with LLDebugTool. The demo is build under MacOS 10.15, XCode 11.1, iOS 13.0, CocoaPods 1.8.4. If there is any version compatibility problem, please let me know.
353349

354350
## Requirements
355351

0 commit comments

Comments
 (0)