Skip to content

Commit c9dfb95

Browse files
committed
fix #5193
1 parent 62a9fed commit c9dfb95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Reports/2025/#359-2025.12.01.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959

6060
[@david-clang](https://github.com/david-clang):本文分享了 Swift Testing 中参数化测试的五大常见陷阱,并提出了关键的最佳实践。其核心思想是:应在测试数据中预先建立清晰的“输入-输出”映射关系,并使用预定义的静态值作为期望结果,从根本上避免测试逻辑与实现逻辑的耦合。
6161

62+
### 🐎 [ScrollView snapping in SwiftUI](https://nilcoalescing.com/blog/ScrollViewSnappingInSwiftUI/)
63+
64+
[@DylanYang](https://github.com/Dylan19Yang):作者向我们介绍了在 SwiftUI 中如何通过设置 scrollTargetBehavior 来调整 ScrollView 滑动的目标位置,除了我们在 UIKit 中熟知的按页滑动 .paging 选项外,还有 .viewAligned 选项允许我们按照 view 的尺寸来决定滑动的终点。文中有较多动图展示,感兴趣的读者可以阅读本文了解更详细的信息。
65+
6266
## 工具
6367

6468
### [Mole:像鼹鼠一样深入挖掘来清理你的 Mac](https://github.com/tw93/Mole)

0 commit comments

Comments
 (0)