Skip to content

Commit

Permalink
Merge pull request SwiftOldDriver#4311 from BarneyZhaoooo/barneyzhaoooo
Browse files Browse the repository at this point in the history
  • Loading branch information
BarneyZhaoooo authored Nov 19, 2023
2 parents e9cf57b + 39d2b64 commit 809d114
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Reports/2023/#268-2023.11.20.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@

[@JonyFang](https://github.com/JonyFang): 本文介绍了百度 APP iOS 端包体积优化的编译器优化方案。涉及到的点有:GCC 语言编译优化、Swift 编译优化、LTO 优化、剥离调试符号、剥离符号表、剔除未引用代码、Asset 优化、C++ 虚函数优化、三方 SDK 编译器方向瘦身、指令集架构优化、Xcode 升级优化、Swift 内置动态库优化等。

### 🐕 [Debugging SwiftUI views: what caused that change?](https://www.avanderlee.com/swiftui/debugging-swiftui-views/)

[@Barney](~https://github.com/BarneyZhaoooo~):本文介绍了调试 SwiftUI 的关键技巧。使用 Self._printChanges 或 Self._logChanges 静态方法可以帮助我们找到引起重绘的根本原因。将视图单一化简单化往往是排查复杂问题的关键,文章分下面五个步骤娓娓道来。

- **What is a dynamic SwiftUI View?**
- **The problem of a Massive SwiftUI View**
- **Using LLDB to debug a change**
- **Solving redraw issues in SwiftUI**
- **Debugging changes using code**

## 工具

> 开发过程中常用的工具,及一些新工具的介绍
Expand Down

0 comments on commit 809d114

Please sign in to comment.