Skip to content

Commit

Permalink
Update README for version 1.1.1.
Browse files Browse the repository at this point in the history
Update README for version 1.1.1.

Fix crash when use `use_frameworks!` in `CocoaPods`.
  • Loading branch information
HDB-Li committed Jul 27, 2018
1 parent b47b07e commit bc2436c
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 17 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## [1.1.1](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.1) (07/27/2018)

Fix crash when use `use_frameworks!` in `CocoaPods`. (Failed resource loading)

#### Add

* Add `LLLogHelperEventDefine.h` to define and record LLDebugTool system event.

#### Update

* Use method `[UIImage LL_imageNamed:]` to replace method `[UIImage imageNamed]`, to solve image resource loading failed.
* Use `[LLConfig sharedConfig].XIBBundle` to register XIB file, to solve crash when use `use_frameworks!` in `CocoaPods`.

## [1.1.0](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.0) (06/07/2018)

### Add screenshot function.
Expand Down
2 changes: 1 addition & 1 deletion LLDebugTool.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LLDebugTool"
s.version = "1.1.0"
s.version = "1.1.1"
s.summary = "LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations."
s.homepage = "https://github.com/HDB-Li/LLDebugTool"
s.license = "MIT"
Expand Down
7 changes: 6 additions & 1 deletion LLDebugTool/DebugTool/LLDebugTool.m
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ - (void)stopWorking {
}

- (NSString *)version {
return @"1.1.1(BETA 1)";
return @"1.1.1";
}

- (void)showDebugViewControllerWithIndex:(NSInteger)index {
Expand All @@ -106,6 +106,11 @@ - (void)logInFile:(NSString *)file function:(NSString *)function lineNo:(int)lin
Initial something.
*/
- (void)initial {
// Restore the version.
[[NSUserDefaults standardUserDefaults] setObject:[self version] forKey:@"LLDebugTool-Version"];
[[NSUserDefaults standardUserDefaults] synchronize];

// Set window.
self.window = [[LLWindow alloc] initWithSuspensionBallWidth:[LLConfig sharedConfig].suspensionBallWidth];
}

Expand Down
23 changes: 15 additions & 8 deletions README-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</p>

[![Version](https://img.shields.io/badge/IOS-%3E%3D8.0-f07e48.svg)](https://img.shields.io/badge/IOS-%3E%3D8.0-f07e48.svg)
[![CocoaPods Compatible](https://img.shields.io/badge/pod-v1.1.0-blue.svg)](https://img.shields.io/badge/pod-v1.1.0-blue.svg)
[![CocoaPods Compatible](https://img.shields.io/badge/pod-v1.1.1-blue.svg)](https://img.shields.io/badge/pod-v1.1.1-blue.svg)
[![Platform](https://img.shields.io/badge/platform-ios-lightgrey.svg)](https://img.shields.io/badge/platform-ios-lightgrey.svg)
[![License](https://img.shields.io/badge/license-MIT-91bc2b.svg)](https://img.shields.io/badge/license-MIT-91bc2b.svg)
[![Language](https://img.shields.io/badge/Language-Objective--C-yellow.svg)](https://img.shields.io/badge/Language-Objective--C-yellow.svg)
Expand Down Expand Up @@ -33,15 +33,22 @@ LLDebugTool是一款针对开发者和测试者的调试工具,它可以帮助
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenShot-6.png" width="18%"> </img>
</div>

## 最近更新 (1.1.0)
## 最近更新 (1.1.1)

- 添加截屏功能。
修复当在`CocoaPods`中使用 `use_frameworks!`,造成的崩溃。(资源加载失败)

**你可以通过同时按住home键和power键来进行截屏,也可以双击悬浮球来进行截屏,截屏后对图画添加一些简单的标注,最终将截图保存到沙盒或者相册中。 这项功能可以在测试人员测试app时,更好的标记Bug、UI问题或者其他情况。**

<div>
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-Screenshot.gif">
</div>
#### 添加

* 添加 `LLLogHelperEventDefine.h` 用来定义LLDebugTool的事件Log。

#### 更新

*`[UIImage LL_imageNamed:]` 替代 `[UIImage imageNamed]`, 解决图片资源加载失败。
*`[LLConfig sharedConfig].XIBBundle` 去注册XIB文件,当在`CocoaPods`中使用 `use_frameworks!`,造成的崩溃。

#### Thanks

* 感谢 [yangbo930204](https://github.com/yangbo930204) 的 pull request.

## 我能用LLDebugTool做什么?

Expand Down
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</p>

[![Version](https://img.shields.io/badge/IOS-%3E%3D8.0-f07e48.svg)](https://img.shields.io/badge/IOS-%3E%3D8.0-f07e48.svg)
[![CocoaPods Compatible](https://img.shields.io/badge/pod-v1.1.0-blue.svg)](https://img.shields.io/badge/pod-v1.1.0-blue.svg)
[![CocoaPods Compatible](https://img.shields.io/badge/pod-v1.1.1-blue.svg)](https://img.shields.io/badge/pod-v1.1.1-blue.svg)
[![Platform](https://img.shields.io/badge/platform-ios-lightgrey.svg)](https://img.shields.io/badge/platform-ios-lightgrey.svg)
[![License](https://img.shields.io/badge/license-MIT-91bc2b.svg)](https://img.shields.io/badge/license-MIT-91bc2b.svg)
[![Language](https://img.shields.io/badge/Language-Objective--C-yellow.svg)](https://img.shields.io/badge/Language-Objective--C-yellow.svg)
Expand Down Expand Up @@ -33,15 +33,22 @@ Choose LLDebugTool for your next project, or migrate over your existing projects
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenShot-6.png" width="18%"> </img>
</div>

## Recent updates (1.1.0)
## Recent updates (1.1.1)

- Add screenshot function.
Fix crash when use `use_frameworks!` in `CocoaPods`. (Failed resource loading)

**You can by holding down the home button and power button at the same time to make screenshots, can also double-click the suspension ball to screenshots, screenshots for pictures after adding some simple annotation, eventually will save screenshots to sandbox or photo album. This feature allows testers to better mark bugs, UI issues, or other situations when testing an app.**
#### Add

<div>
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-Screenshot.gif">
</div>
* Add `LLLogHelperEventDefine.h` to define and record LLDebugTool system event.

#### Update

* Use method `[UIImage LL_imageNamed:]` to replace method `[UIImage imageNamed]`, to solve image resource loading failed.
* Use `[LLConfig sharedConfig].XIBBundle` to register XIB file, to solve crash when use `use_frameworks!` in `CocoaPods`.

#### Thanks

* Thanks [yangbo930204](https://github.com/yangbo930204)'s pull request.

## What can you do with LLDebugTool?

Expand Down

0 comments on commit bc2436c

Please sign in to comment.