Skip to content

Commit 236324b

Browse files
authored
fix #4298
1 parent 809d114 commit 236324b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Reports/2023/#268-2023.11.20.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@
5858
- **Solving redraw issues in SwiftUI**
5959
- **Debugging changes using code**
6060

61+
62+
### 🐎 [Custom Traits and SwiftUI](https://useyourloaf.com/blog/custom-traits-and-swiftui/)
63+
64+
[@Damien](https://zengyima.github.com/):本文主要讲述了在 iOS 17 中,开发者可以添加自定义 Traits 到 UIKit Traits 环境中,并与 SwiftUI 环境进行互操作。在 iOS 17 中,Traits 的处理方式发生了重大变化,Traits 现在可以从 UIScreen、UIWindowScene、UIViewController、UIView 等流向任何子视图控制器。此外,还介绍了如何创建一个自定义 Traits,并给出了一个实际的例子。
65+
6166
## 工具
6267

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

0 commit comments

Comments
 (0)