Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DiDi
DoraemonKit
提交
6d9e4fd9
D
DoraemonKit
项目概览
DiDi
/
DoraemonKit
12 个月 前同步成功
通知
166
Star
19623
Fork
3062
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DoraemonKit
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6d9e4fd9
编写于
3月 05, 2020
作者:
Y
yixiangboy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
子线程UI检查不需要重启App即可生效
上级
0b0c4aad
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
11 addition
and
11 deletion
+11
-11
iOS/DoraemonKit/Src/Core/Plugin/Performance/SubThreadUICheck/DoraemonSubThreadUICheckViewController.m
...SubThreadUICheck/DoraemonSubThreadUICheckViewController.m
+1
-7
iOS/DoraemonKit/Src/Core/Plugin/Performance/SubThreadUICheck/Function/UIView+DoraemonSubThreadUICheck.m
...bThreadUICheck/Function/UIView+DoraemonSubThreadUICheck.m
+2
-2
iOS/DoraemonKitDemo/Podfile
iOS/DoraemonKitDemo/Podfile
+1
-0
iOS/DoraemonKitDemo/Podfile.lock
iOS/DoraemonKitDemo/Podfile.lock
+7
-2
未找到文件。
iOS/DoraemonKit/Src/Core/Plugin/Performance/SubThreadUICheck/DoraemonSubThreadUICheckViewController.m
浏览文件 @
6d9e4fd9
...
...
@@ -47,13 +47,7 @@
#pragma mark -- DoraemonSwitchViewDelegate
-
(
void
)
changeSwitchOn
:(
BOOL
)
on
sender
:(
id
)
sender
{
__weak
typeof
(
self
)
weakSelf
=
self
;
[
DoraemonAlertUtil
handleAlertActionWithVC
:
self
okBlock
:
^
{
[[
DoraemonCacheManager
sharedInstance
]
saveSubThreadUICheckSwitch
:
on
];
exit
(
0
);
}
cancleBlock
:^
{
weakSelf
.
switchView
.
switchView
.
on
=
!
on
;
}];
[[
DoraemonCacheManager
sharedInstance
]
saveSubThreadUICheckSwitch
:
on
];
}
#pragma mark -- DoraemonCellButtonDelegate
...
...
iOS/DoraemonKit/Src/Core/Plugin/Performance/SubThreadUICheck/Function/UIView+DoraemonSubThreadUICheck.m
浏览文件 @
6d9e4fd9
...
...
@@ -39,8 +39,8 @@
}
-
(
void
)
uiCheck
{
if
(
[[
DoraemonCacheManager
sharedInstance
]
subThreadUICheckSwitch
]){
if
(
!
[
NSThread
isMainThread
])
{
if
(
!
[
NSThread
isMainThread
]){
if
([[
DoraemonCacheManager
sharedInstance
]
subThreadUICheckSwitch
])
{
NSString
*
report
=
[
BSBacktraceLogger
bs_backtraceOfCurrentThread
];
NSDictionary
*
dic
=
@{
@"title"
:
[
DoraemonUtil
dateFormatNow
],
...
...
iOS/DoraemonKitDemo/Podfile
浏览文件 @
6d9e4fd9
...
...
@@ -20,5 +20,6 @@ target :'DoraemonKitDemo' do
pod
'AFNetworking'
,
'2.6.3'
pod
'SDWebImage'
,
'5.0.6'
pod
'FBRetainCycleDetector'
,
:git
=>
'git@github.com:facebook/FBRetainCycleDetector.git'
,
:configurations
=>
[
'Debug'
]
pod
'fishhook'
,
:git
=>
'git@github.com:facebook/fishhook.git'
,
:configurations
=>
[
'Debug'
]
#pod 'FBRetainCycleDetector'
end
iOS/DoraemonKitDemo/Podfile.lock
浏览文件 @
6d9e4fd9
...
...
@@ -59,13 +59,13 @@ DEPENDENCIES:
- DoraemonKit/WithGPS (from `../../`)
- DoraemonKit/WithMLeaksFinder (from `../../`)
- "FBRetainCycleDetector (from `git@github.com:facebook/FBRetainCycleDetector.git`)"
- "fishhook (from `git@github.com:facebook/fishhook.git`)"
- SDWebImage (= 5.0.6)
SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
- AFNetworking
- BSBacktraceLogger
- fishhook
- FMDB
- GCDWebServer
- SDWebImage
...
...
@@ -76,11 +76,16 @@ EXTERNAL SOURCES:
:path: "../../"
FBRetainCycleDetector:
:git: "git@github.com:facebook/FBRetainCycleDetector.git"
fishhook:
:git: "git@github.com:facebook/fishhook.git"
CHECKOUT OPTIONS:
FBRetainCycleDetector:
:commit: 19fd284845b8454dbb75a648baa47d99b7708b74
:git: "git@github.com:facebook/FBRetainCycleDetector.git"
fishhook:
:commit: 66315a9c251edfe92f669ae2deeac0d75374c948
:git: "git@github.com:facebook/fishhook.git"
SPEC CHECKSUMS:
AFNetworking: cb8d14a848e831097108418f5d49217339d4eb60
...
...
@@ -93,6 +98,6 @@ SPEC CHECKSUMS:
SDWebImage: 920f1a2ff1ca8296ad34f6e0510a1ef1d70ac965
YYDebugDatabase: c8be8bd85222cc2ced76e93ca06618bab87224d7
PODFILE CHECKSUM:
e3a8ed916535f347ac18202d838b851eea330ef
8
PODFILE CHECKSUM:
332fa75531721e86ff40fce343c54f259711b55
8
COCOAPODS: 1.8.4
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录