Skip to content

Commit e531ab3

Browse files
committed
refactor: 部分内容挪至下一期
1 parent 603e9db commit e531ab3

2 files changed

Lines changed: 87 additions & 47 deletions

File tree

Reports/2025/#323-2025.02.17.md

Lines changed: 5 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,12 @@
77

88
## 新闻
99

10-
> 行业相关的新闻、趣事、看法
10+
### [Updating the Visual Studio Code extension for Swift](https://www.swift.org/blog/vscode-swift-2/)
1111

12-
##  Developer - 设计开发加速器
13-
14-
> 设计开发加速器相关活动
15-
16-
## 新手推荐
17-
18-
> 收集一些对新手友好且质量不错的文章
12+
[@Cooper Chen](https://github.com/cjlcooper):Swift 团队正式支持 Visual Studio Code 中的新版本 Swift 扩展,旨在提升跨平台开发体验。原有扩展已迁移至 GitHub /swiftlang 组织,确保更广泛的社区支持和持续更新。对于现有开发者,升级过程无缝衔接,旧版扩展会自动替换为新版,用户可以轻松过渡。如果你是 Swift 开发者,可以尽快更新以体验更多功能和改进。
1913

2014
## 文章
2115

22-
> 写的不错的技术博客,包含但不局限于 iOS、多端统一、设计、产品等
23-
2416
### 🐕 [Creating a reusable action menu component in SwiftUI](https://peterfriese.dev/blog/2025/swiftui-action-menu/)
2517

2618
[@AidenRao](https://weibo.com/AidenRao):这篇文章详细介绍了如何通过 SwiftUI 构建一个高度复用、和 Apple Mail 中的操作菜单风格一致的动作菜单组件:
@@ -41,37 +33,26 @@
4133

4234
iOS App Intents 是苹果生态中实现「功能原子化」的核心工具,通过标准化接口打通应用与系统的边界。开发者通过定义意图和实体,即可将应用融入 Siri、搜索、自动化等场景,为用户提供无缝、智能的体验。随着 Apple Intelligence 的深化整合,其应用潜力将进一步释放,对于关注 AI 集成的开发者,有较高的参考价值。
4335

44-
### 🐢 [The Synchronization Framework in Swift 6](https://blog.jacobstechtavern.com/p/the-synchronisation-framework)
45-
46-
[@DylanYang](https://github.com/Dylan19Yang):作者为我们介绍了 Swift 6 和 iOS 18 下的新同步框架,其中主要包含了两个底层结构 Mutex 和 Atomics。作者在本文中对这两个新的能力做了较为详细的说明和性能比对。Mutex 能使得对被他包裹的数据的访问自动上锁,在性能上和手动通过代码上锁区别不大,但是相比使用 Actor 有不少提升。不过相比 Actor 的缺点自然是锁会阻塞当前线程。而 Atomic 则可以使被他包裹的操作都为原子操作不会被并发打断。从性能上看它和 Actor 比并没有较大优势,因此大多数情况下使用 Actor 已经足够。对同步框架感兴趣的读者可以花时间阅读下本文。
47-
48-
### 🐎 [Understanding SwiftUI Preferences](https://peterfriese.dev/blog/2025/swiftui-preferences-swift6/#what-are-preferences-in-swiftui)
49-
50-
[@JonyFang](https://github.com/JonyFang): 本篇主要介绍了 SwiftUI 中的 Preferences 机制,讲述了其在父子视图间传递数据的作用。 作者通过具体示例,展示了如何利用 Preferences 构建自定义视图,如表单验证功能。 此外,文章还讨论了 Swift 6 中与 Preferences 相关的问题,提供了对开发者有价值的见解。 总的来说,这篇文章为开发者深入理解和应用 SwiftUI 的 Preferences 提供了清晰的指导。
51-
5236
## 工具
5337

5438
### 🐢 [SweetPad: Develop Swift/iOS projects using VSCode](https://github.com/sweetpad-dev/sweetpad)
5539

5640
[@阿权](https://github.com/bqlin):之前你可能听说过 VSCode 插件 [Swift Programming Language](https://marketplace.visualstudio.com/items?itemName=swiftlang.swift-vscode),官方大力宣传可以 Swift 可以跨平台开发了,但也就仅限于开发 Swift 了(语法高亮、代码补全、错误检查、Swift Package Only),还是不能取代 Xcode 进行 iOS 开发。
5741

58-
[SweetPad](https://github.com/sweetpad-dev/sweetpad) 或许能做到这一点,其也是一款 VSCode 插件,旨在使用 VSCode 开发 Swift/iOS 项目,成为 Xcode 以外的替代 IDE 方案。[SweetPad](https://github.com/sweetpad-dev/sweetpad) 通过集成各种开源工具(swift-format、swiftlint、xcodebuild、xcrun、xcode-build-server、sourcekit-lsp 等)直接在 Xcode 生成(当然也可以用 [XcodeGen](https://github.com/yonaskolb/XcodeGen)[Tuist](https://tuist.io/) 生成)的项目文件进行开发、运行和调试。换句话说,[SweetPad](https://github.com/sweetpad-dev/sweetpad) 通过各种命令行工具实现并对齐 Xcode 的各项能力。
42+
SweetPad 或许能做到这一点,其也是一款 VSCode 插件,旨在使用 VSCode 开发 Swift/iOS 项目,成为 Xcode 以外的替代 IDE 方案。SweetPad 通过集成各种开源工具(swift-format、swiftlint、xcodebuild、xcrun、xcode-build-server、sourcekit-lsp 等)直接在 Xcode 生成(当然也可以用 [XcodeGen](https://github.com/yonaskolb/XcodeGen)[Tuist](https://tuist.io/) 生成)的项目文件进行开发、运行和调试。换句话说,SweetPad 通过各种命令行工具实现并对齐 Xcode 的各项能力。
5943

60-
[SweetPad](https://github.com/sweetpad-dev/sweetpad) 目前实现能力有:
44+
SweetPad 目前实现能力有:
6145

6246
- Xcode 项目文件编辑:通过 [Tuist](https://tuist.io/) 工具实现。
6347
- 自动补全(SourceKit-LSP)、单元测试:通过 [Swift](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang) 插件 + [xcode-build-server](https://github.com/SolaWing/xcode-build-server) 工具实现。
6448
- 调试:通过 [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb) 实现。
6549
- 运行到模拟器和真机:通过 `xcrun simctl``xcrun devicectl` 命令行实现。
6650
- 格式化:通过 [swift-format](https://github.com/apple/swift-format) 实现。
6751

68-
[SweetPad](https://github.com/sweetpad-dev/sweetpad) 还没使用最近开源的 [swift-build](https://github.com/swiftlang/swift-build),还是使用 `xcodebuild` + `sourcekit-lsp` 的方案,所以还是得安装 Xcode 环境。另外,诸如 SwiftUI Preview、XIB/Stroyboard 可视化、签名证书管理等也尚未支持。
52+
SweetPad 还没使用最近开源的 [swift-build](https://github.com/swiftlang/swift-build),还是使用 `xcodebuild` + `sourcekit-lsp` 的方案,所以还是得安装 Xcode 环境。另外,诸如 SwiftUI Preview、XIB/Stroyboard 可视化、签名证书管理等也尚未支持。
6953

7054
之前 [#224](https://github.com/SwiftOldDriver/iOS-Weekly/blob/master/Reports/2023/%23244-2023.05.15.md) 周报有提到 [用 VSCode 基于 Bazel 打造 Apple 生态开发环境](https://mp.weixin.qq.com/s/7UJdgJIYWkhzSjtKsHqC2g) 则是实现一套 Bis + Bazel 编译系统的 VSCode 开发环境,感兴趣的同学可以对比着阅读。
7155

72-
### 🐎 [Updating the Visual Studio Code extension for Swift](https://www.swift.org/blog/vscode-swift-2/)
73-
[@Cooper Chen](https://github.com/cjlcooper):Swift团队正式支持 Visual Studio Code 中的新版本 Swift 扩展,旨在提升跨平台开发体验。原有扩展已迁移至 GitHub /swiftlang 组织,确保更广泛的社区支持和持续更新。对于现有开发者,升级过程无缝衔接,旧版扩展会自动替换为新版,用户可以轻松过渡。如果你是 Swift 开发者,可以尽快更新以体验更多功能和改进。
74-
7556
## Tips
7657

7758
### [一个使用 Instrument 的小技巧](https://github.com/SwiftOldDriver/iOS-Weekly/issues/4871)
@@ -80,29 +61,6 @@ Instrument 录制结束卡顿很久或者秒退时,可用的设置。只采集
8061

8162
![Instrument](https://github.com/user-attachments/assets/42907aa6-5814-49c6-ac06-402502bfe4a6)
8263

83-
### 🐎 [DispatchConcurrentQueue 可用性提示](https://github.com/SwiftOldDriver/iOS-Weekly/issues/4870)
84-
85-
[@Damien](https://github.com/ZengyiMa):DispatchConcurrentQueue 实际要在 iOS 17 才开始能够使用,但是 Xcode 15 标注错误并且可以通过编译检查,但是在 Runtime 期间会引发 Crash。有使用到的同学请特别注意。
86-
87-
Xcode 15
88-
![image](https://github.com/user-attachments/assets/81dfa441-424a-4706-a5d2-0bda334ecc95)
89-
90-
Xcode 16
91-
![image](https://github.com/user-attachments/assets/4ca77442-dd15-4131-b3db-8b564921dac7)
92-
93-
94-
## 代码
95-
96-
> 库,代码段,开源app
97-
98-
##
99-
100-
> 比较不错的书的推荐和书评
101-
102-
## 音视频
103-
104-
> 比较不错的书的推荐和书评
105-
10664
## 内推
10765

10866
重新开始更新「iOS 靠谱内推专题」,整理了最近明确在招人的岗位,供大家参考

Reports/2025/#324-2025.02.24.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# 老司机 iOS 周报 #324 | 2025-02-24
2+
3+
![ios-weekly](https://github.com/SwiftOldDriver/iOS-Weekly/blob/master/assets/weekly-header/324.jpg?raw=true)
4+
老司机 iOS 周报,只为你呈现有价值的信息。
5+
6+
你也可以为这个项目出一份力,如果发现有价值的信息、文章、工具等可以到 [Issues](https://github.com/SwiftOldDriver/iOS-Weekly/issues) 里提给我们,我们会尽快处理。记得写上推荐的理由哦。有建议和意见也欢迎到 [Issues](https://github.com/SwiftOldDriver/iOS-Weekly/issues) 提出。
7+
8+
## 新闻
9+
10+
> 行业相关的新闻、趣事、看法
11+
12+
##  Developer - 设计开发加速器
13+
14+
> 设计开发加速器相关活动
15+
16+
## 新手推荐
17+
18+
> 收集一些对新手友好且质量不错的文章
19+
20+
## 文章
21+
22+
> 写的不错的技术博客,包含但不局限于 iOS、多端统一、设计、产品等
23+
24+
### 🐎 [Understanding SwiftUI Preferences](https://peterfriese.dev/blog/2025/swiftui-preferences-swift6/#what-are-preferences-in-swiftui)
25+
26+
[@JonyFang](https://github.com/JonyFang): 本篇主要介绍了 SwiftUI 中的 Preferences 机制,讲述了其在父子视图间传递数据的作用。 作者通过具体示例,展示了如何利用 Preferences 构建自定义视图,如表单验证功能。 此外,文章还讨论了 Swift 6 中与 Preferences 相关的问题,提供了对开发者有价值的见解。 总的来说,这篇文章为开发者深入理解和应用 SwiftUI 的 Preferences 提供了清晰的指导。
27+
28+
### 🐢 [The Synchronization Framework in Swift 6](https://blog.jacobstechtavern.com/p/the-synchronisation-framework)
29+
30+
[@DylanYang](https://github.com/Dylan19Yang):作者为我们介绍了 Swift 6 和 iOS 18 下的新同步框架,其中主要包含了两个底层结构 Mutex 和 Atomics。作者在本文中对这两个新的能力做了较为详细的说明和性能比对。Mutex 能使得对被他包裹的数据的访问自动上锁,在性能上和手动通过代码上锁区别不大,但是相比使用 Actor 有不少提升。不过相比 Actor 的缺点自然是锁会阻塞当前线程。而 Atomic 则可以使被他包裹的操作都为原子操作不会被并发打断。从性能上看它和 Actor 比并没有较大优势,因此大多数情况下使用 Actor 已经足够。对同步框架感兴趣的读者可以花时间阅读下本文。
31+
32+
33+
## 工具
34+
35+
> 开发过程中常用的工具,及一些新工具的介绍
36+
37+
## Tips
38+
39+
### 🐎 [DispatchConcurrentQueue 可用性提示](https://github.com/SwiftOldDriver/iOS-Weekly/issues/4870)
40+
41+
[@Damien](https://github.com/ZengyiMa):DispatchConcurrentQueue 实际要在 iOS 17 才开始能够使用,但是 Xcode 15 标注错误并且可以通过编译检查,但是在 Runtime 期间会引发 Crash。有使用到的同学请特别注意。
42+
43+
Xcode 15
44+
![image](https://github.com/user-attachments/assets/81dfa441-424a-4706-a5d2-0bda334ecc95)
45+
46+
Xcode 16
47+
![image](https://github.com/user-attachments/assets/4ca77442-dd15-4131-b3db-8b564921dac7)
48+
49+
50+
## 代码
51+
52+
> 库,代码段,开源app
53+
54+
##
55+
56+
> 比较不错的书的推荐和书评
57+
58+
## 音视频
59+
60+
> 比较不错的书的推荐和书评
61+
62+
## 内推
63+
64+
重新开始更新「iOS 靠谱内推专题」,整理了最近明确在招人的岗位,供大家参考
65+
66+
具体信息请移步:https://www.yuque.com/iosalliance/article/bhutav 进行查看(如有招聘需求请联系 iTDriverr)
67+
68+
## 关注我们
69+
70+
我们是「老司机技术周报」,一个持续追求精品 iOS 内容的技术公众号,欢迎关注。
71+
72+
**关注有礼,关注【老司机技术周报】,回复「2024」,领取 2024 及往年内参**
73+
74+
![](https://github.com/SwiftOldDriver/iOS-Weekly/blob/master/assets/qrcode_for_wechat.jpg?raw=true)
75+
76+
同时也支持了 RSS 订阅:https://github.com/SwiftOldDriver/iOS-Weekly/releases.atom
77+
78+
## 说明
79+
80+
🚧 表示需某工具,🌟 表示编辑推荐
81+
82+
预计阅读时间:🐎 很快就能读完(1 - 10 mins);🐕 中等 (10 - 20 mins);🐢 慢(20+ mins)

0 commit comments

Comments
 (0)