mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-25 04:17:17 +00:00
docs: 布偶猫养护 tips
This commit is contained in:
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
@@ -2,7 +2,7 @@
|
||||
|
||||
## 图片显示流程
|
||||
|
||||

|
||||

|
||||
|
||||
```objective-c
|
||||
UIImage *image = [UIImage imageNamed:@"test"];
|
||||
@@ -19,10 +19,7 @@ _imageView.image = image;
|
||||
|
||||
## YYImage 源码
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
很多框架使用锁都是 pthread_mutex_lock,分析原因
|
||||
|
||||
@@ -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
1
Chapter1 - iOS/1.92.md
Normal file
@@ -0,0 +1 @@
|
||||
# flutter 无痕埋点
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user