docs: 布偶猫养护 tips

This commit is contained in:
杭城小刘
2020-11-08 21:20:28 +08:00
parent e89fe0ca1c
commit 37f218379d
35 changed files with 872 additions and 10277 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
## 图片显示流程
![image-20200813130942777](/Users/lbp/Desktop/Github/knowledge-kit/assets/2020-08-13-ImageRenderProcess.png)
![image-20200813130942777](./../assets/2020-08-13-ImageRenderProcess.png)
```objective-c
UIImage *image = [UIImage imageNamed:@"test"];
@@ -19,10 +19,7 @@ _imageView.image = image;
## YYImage 源码
![image-20200813131944130](/Users/lbp/Desktop/Github/knowledge-kit/assets/2020-08-13-YYImageClassLevel.png)
![image-20200813131944130](./../assets/2020-08-13-YYImageClassLevel.png)
很多框架使用锁都是 pthread_mutex_lock分析原因

View File

@@ -1,21 +1,6 @@
# 二进制重排
1. 清吟街社保
2. 社保清单、户口本、身份证带上去做工作信息变更。信息变更为街道
3. 月底入住
身份证、社保清单、失业证明,去办理
## 启动检测
- App 动态库不要超过6个。
@@ -101,7 +86,6 @@ clang 插桩,才可以 hook OC、C、block、Swift 全部。LLVM 官方文档
二进制重排提升 App 启动速度是通过「解决内存缺页异常」(内存缺页会有几毫秒的耗时)来提速的。
一个 App 发生大量「内存缺页」的时机就是 App 刚启动的时候。所以优化手段就是「将影响 App 启动的方法集中处理放到某一页或者某几页」虚拟内存中的页。Xcode 工程允许开发者指定 「Order File」可以「按照文件中的方法顺序去加载」可以查看 linkMap 文件(需要在 Xcode 中的 「Buiild Settings」中设置 Order File、Write Link Map Files 参数)。

1
Chapter1 - iOS/1.92.md Normal file
View File

@@ -0,0 +1 @@
# flutter 无痕埋点

View File

@@ -94,3 +94,5 @@
* [88、fishhook 原理](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.88.md)
* [89、block 原理](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.89.md)
* [90、YYImage 框架原理,探索图片高效加载原理](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.90.md)
* [91、二进制重排](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.91.md)
* [92、flutter 无痕埋点](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.92.md)