Skip to content

Commit

Permalink
Merge pull request #75 from HDB-Li/1.3.4
Browse files Browse the repository at this point in the history
1.3.4
  • Loading branch information
HDB-Li authored Oct 31, 2019
2 parents 8cd5f78 + c2798a6 commit 39ef22a
Show file tree
Hide file tree
Showing 41 changed files with 2,257 additions and 460 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [1.3.4](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.3.4) (10/31/2019)

### More practical `Hierarchy` function

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.

#### Update

* Update `Hierarchy Detail` to dynamic modify properties.

## [1.3.3](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.3.3) (10/18/2019)

### Add `Html` function.
Expand Down
4 changes: 2 additions & 2 deletions 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.3.3"
s.version = "1.3.4"
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 All @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.public_header_files = "LLDebugTool/LLDebug.h", "LLDebugTool/DebugTool/*.h"
s.source_files = "LLDebugTool/**/*.{h,m}"
s.resources = "LLDebugTool/**/*.{xib,storyboard,bundle}"
s.frameworks = "Foundation", "UIKit", "Photos", "SystemConfiguration", "CoreTelephony", "QuickLook"
s.frameworks = "Foundation", "UIKit", "Photos", "SystemConfiguration", "CoreTelephony", "QuickLook", "WebKit"
s.dependency "FMDB", "~> 2.0"
s.dependency "Masonry"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#import "LLCrashDetailViewController.h"
#import "LLImageNameConfig.h"
#import "LLToastUtils.h"
#import "UIViewController+LL_Utils.h"

static NSString *const kCrashCellID = @"CrashCellID";

Expand Down Expand Up @@ -87,7 +88,7 @@ - (void)deleteFilesWithIndexPaths:(NSArray *)indexPaths {
[weakSelf.searchDataArray removeObjectsInArray:models];
[weakSelf.tableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade];
} else {
[weakSelf showAlertControllerWithMessage:@"Remove crash model fail" handler:^(NSInteger action) {
[weakSelf LL_showAlertControllerWithMessage:@"Remove crash model fail" handler:^(NSInteger action) {
if (action == 1) {
[weakSelf loadData];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ - (void)updateUI:(NSArray<LLFunctionItemModel *> *)dataArray {
for (int i = 0; i < dataArray.count; i++) {
LLFunctionItemModel *model = dataArray[i];
LLFunctionItemView *itemView = [[LLFunctionItemView alloc] initWithFrame:CGRectZero];
[itemView LL_AddClickListener:self action:@selector(itemViewClicked:)];
[itemView LL_addClickListener:self action:@selector(itemViewClicked:)];
itemView.model = model;
[self addSubview:itemView];
[self.itemViews addObject:itemView];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,28 @@
#import <UIKit/UIKit.h>
#import "LLTitleCellCategoryModel.h"

FOUNDATION_EXPORT NSNotificationName _Nonnull const LLHierarchyChangeNotificationName;

NS_ASSUME_NONNULL_BEGIN

@interface NSObject (LL_Hierarchy)

- (NSArray <LLTitleCellCategoryModel *>*)LL_hierarchyCategoryModels;

- (void)LL_showIntAlertAndAutomicSetWithKeyPath:(NSString *)keyPath;

- (void)LL_showFrameAlertAndAutomicSetWithKeyPath:(NSString *)keyPath;

- (void)LL_showColorAlertAndAutomicSetWithKeyPath:(NSString *)keyPath;

- (void)LL_showFontAlertAndAutomicSetWithKeyPath:(NSString *)keyPath;

@end

@interface UIView (LL_Hierarchy)

- (NSArray <LLTitleCellCategoryModel *>*)LL_sizeHierarchyCategoryModels;

@end

NS_ASSUME_NONNULL_END
Loading

0 comments on commit 39ef22a

Please sign in to comment.