Skip to content

Commit 39ef22a

Browse files
authored
Merge pull request #75 from HDB-Li/1.3.4
1.3.4
2 parents 8cd5f78 + c2798a6 commit 39ef22a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2257
-460
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.4](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.3.4) (10/31/2019)
2+
3+
### More practical `Hierarchy` function
4+
5+
Now you can use the `Hierarchy` function to dynamically modify attribute values. There are common attributes in the shortcut interface and most attributes in the details interface. It's a very interesting and useful function.
6+
7+
#### Update
8+
9+
* Update `Hierarchy Detail` to dynamic modify properties.
10+
111
## [1.3.3](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.3.3) (10/18/2019)
212

313
### Add `Html` function.

LLDebugTool.podspec

Lines changed: 2 additions & 2 deletions
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.3"
3+
s.version = "1.3.4"
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"
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.public_header_files = "LLDebugTool/LLDebug.h", "LLDebugTool/DebugTool/*.h"
1313
s.source_files = "LLDebugTool/**/*.{h,m}"
1414
s.resources = "LLDebugTool/**/*.{xib,storyboard,bundle}"
15-
s.frameworks = "Foundation", "UIKit", "Photos", "SystemConfiguration", "CoreTelephony", "QuickLook"
15+
s.frameworks = "Foundation", "UIKit", "Photos", "SystemConfiguration", "CoreTelephony", "QuickLook", "WebKit"
1616
s.dependency "FMDB", "~> 2.0"
1717
s.dependency "Masonry"
1818

LLDebugTool/Core/Component/Crash/UserInterface/LLCrashViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#import "LLCrashDetailViewController.h"
3131
#import "LLImageNameConfig.h"
3232
#import "LLToastUtils.h"
33+
#import "UIViewController+LL_Utils.h"
3334

3435
static NSString *const kCrashCellID = @"CrashCellID";
3536

@@ -87,7 +88,7 @@ - (void)deleteFilesWithIndexPaths:(NSArray *)indexPaths {
8788
[weakSelf.searchDataArray removeObjectsInArray:models];
8889
[weakSelf.tableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade];
8990
} else {
90-
[weakSelf showAlertControllerWithMessage:@"Remove crash model fail" handler:^(NSInteger action) {
91+
[weakSelf LL_showAlertControllerWithMessage:@"Remove crash model fail" handler:^(NSInteger action) {
9192
if (action == 1) {
9293
[weakSelf loadData];
9394
}

LLDebugTool/Core/Component/Function/UserInterface/LLFunctionItemContainerView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ - (void)updateUI:(NSArray<LLFunctionItemModel *> *)dataArray {
9090
for (int i = 0; i < dataArray.count; i++) {
9191
LLFunctionItemModel *model = dataArray[i];
9292
LLFunctionItemView *itemView = [[LLFunctionItemView alloc] initWithFrame:CGRectZero];
93-
[itemView LL_AddClickListener:self action:@selector(itemViewClicked:)];
93+
[itemView LL_addClickListener:self action:@selector(itemViewClicked:)];
9494
itemView.model = model;
9595
[self addSubview:itemView];
9696
[self.itemViews addObject:itemView];

LLDebugTool/Core/Component/Hierarchy/Function/NSObject+LL_Hierarchy.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,28 @@
2525
#import <UIKit/UIKit.h>
2626
#import "LLTitleCellCategoryModel.h"
2727

28+
FOUNDATION_EXPORT NSNotificationName _Nonnull const LLHierarchyChangeNotificationName;
29+
2830
NS_ASSUME_NONNULL_BEGIN
2931

3032
@interface NSObject (LL_Hierarchy)
3133

3234
- (NSArray <LLTitleCellCategoryModel *>*)LL_hierarchyCategoryModels;
3335

36+
- (void)LL_showIntAlertAndAutomicSetWithKeyPath:(NSString *)keyPath;
37+
38+
- (void)LL_showFrameAlertAndAutomicSetWithKeyPath:(NSString *)keyPath;
39+
40+
- (void)LL_showColorAlertAndAutomicSetWithKeyPath:(NSString *)keyPath;
41+
42+
- (void)LL_showFontAlertAndAutomicSetWithKeyPath:(NSString *)keyPath;
43+
44+
@end
45+
46+
@interface UIView (LL_Hierarchy)
47+
48+
- (NSArray <LLTitleCellCategoryModel *>*)LL_sizeHierarchyCategoryModels;
49+
3450
@end
3551

3652
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)