Skip to content

Commit

Permalink
feat: 部分内容挪至下一期
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengzhiHuang committed Feb 16, 2025
1 parent 2ab588e commit 88f5e5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Reports/2025/#323-2025.02.17.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ iOS App Intents 是苹果生态中实现「功能原子化」的核心工具,

而且 Flutter 创始人 [Eric](https://github.com/eseidel) 也对“废弃 Dart 独立 UI 线程”发表了 [comment](https://github.com/flutter/flutter/issues/150525#issuecomment-2652547816),表怀疑态度,比如 Dart 和 Native 平台同一线程之后,那么「滚动 / 动画」是否会因此出现相互影响,特别是第三方插件处理不当的时候,反而可能更加卡顿。官方回复 Eric 这利大于弊,而 Eric 表示后面有空整理文档回复该讨论。

### 🐎 [The Framework Next Door](https://www.elkraneo.com/the-framework-next-door)

[@BluesJiang](https://github.com/BluesJiang): 这篇文章分享了他们在制作密室逃脱场景下,使用 TabletopKit 来开发一个 VisionOS 的应用。这个主要是针对桌面游戏的需求来设计的框架,支持多人互动,桌面的 Persona 布局,还有丰富的交互能力。有兴趣给 Vision Pro 开发桌面游戏的可以调研一下这个框架。

## 工具

### 🐢 [SweetPad: Develop Swift/iOS projects using VSCode](https://github.com/sweetpad-dev/sweetpad)
Expand All @@ -57,7 +53,7 @@ SweetPad 或许能做到这一点,其也是一款 VSCode 插件,旨在使用

SweetPad 目前实现能力有:

- Xcode 项目文件编辑:通过 [Tuist](https://tuist.io/) 工具实现。
- Xcode 项目文件编辑:通过 Tuist 工具实现。
- 自动补全(SourceKit-LSP)、单元测试:通过 [Swift](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang) 插件 + [xcode-build-server](https://github.com/SolaWing/xcode-build-server) 工具实现。
- 调试:通过 [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb) 实现。
- 运行到模拟器和真机:通过 `xcrun simctl``xcrun devicectl` 命令行实现。
Expand All @@ -71,7 +67,7 @@ SweetPad 还没使用最近开源的 [swift-build](https://github.com/swiftlang/

### [一个使用 Instrument 的小技巧](https://github.com/SwiftOldDriver/iOS-Weekly/issues/4871)

Instrument 录制结束卡顿很久或者秒退时,可用的设置。只采集最后几秒的数据,对于一些需要前置操作一段时间才能复现的问题时,会有较大帮助。在处理大量长时间数据时,Instrument 会有较大卡顿并消耗大量内存,此时就可以开启这个选项。
[@Barney](https://github.com/BarneyZhaoooo)Instrument 录制结束卡顿很久或者秒退时,可用的设置。只采集最后几秒的数据,对于一些需要前置操作一段时间才能复现的问题时,会有较大帮助。在处理大量长时间数据时,Instrument 会有较大卡顿并消耗大量内存,此时就可以开启这个选项。

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

Expand Down
3 changes: 3 additions & 0 deletions Reports/2025/#324-2025.02.24.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@

[@DylanYang](https://github.com/Dylan19Yang):作者为我们介绍了 Swift 6 和 iOS 18 下的新同步框架,其中主要包含了两个底层结构 Mutex 和 Atomics。作者在本文中对这两个新的能力做了较为详细的说明和性能比对。Mutex 能使得对被他包裹的数据的访问自动上锁,在性能上和手动通过代码上锁区别不大,但是相比使用 Actor 有不少提升。不过相比 Actor 的缺点自然是锁会阻塞当前线程。而 Atomic 则可以使被他包裹的操作都为原子操作不会被并发打断。从性能上看它和 Actor 比并没有较大优势,因此大多数情况下使用 Actor 已经足够。对同步框架感兴趣的读者可以花时间阅读下本文。

### 🐎 [The Framework Next Door](https://www.elkraneo.com/the-framework-next-door)

[@BluesJiang](https://github.com/BluesJiang): 这篇文章分享了他们在制作密室逃脱场景下,使用 TabletopKit 来开发一个 VisionOS 的应用。这个主要是针对桌面游戏的需求来设计的框架,支持多人互动,桌面的 Persona 布局,还有丰富的交互能力。有兴趣给 Vision Pro 开发桌面游戏的可以调研一下这个框架。

## 工具

Expand Down

0 comments on commit 88f5e5f

Please sign in to comment.