We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb6b27 commit 35e86f3Copy full SHA for 35e86f3
iOS/Swift/PFollow.md
@@ -0,0 +1,6 @@
1
+## PFollow 开发总结
2
+
3
+### 点加载
4
+从相册中每次都全量读取一次数据,还要比对是否重复和变更,虽然速度不慢,但直接拿 SwiftUI 进行点渲染,一万多张照片需要渲染一万多个点,有较大性能问题。
5
6
+可以使用自定义 MapView,使用聚类来进行调优,点跟随缩放素质进行增加或减少,降低 UI 渲染压力。
macOS/TranslateP.md
@@ -0,0 +1,11 @@
+## TranslateP 开发过程
+## 选型
+使用 SwiftUI,因为 AppKit 实在是太难用了,痛苦。并且作为一个无主界面的 app,运行后只有菜单栏程序,使用[`MenuBarExtra`](https://developer.apple.com/documentation/swiftui/menubarextra)这个 macOS 13 开始支持的 API。
+## Accessibility 权限
7
+正在调试运行中的 app 没有加在 Applicatios 文件夹中,需要在 Xcode 的缓存目录下找到你正在运行中的 app,添加到 Accessibility 中。注意用户目录下的 Library 为隐藏目录,使用 shift + command + . 展示 Finder 的隐藏目录。
8
9
+```bash
10
+/Users/你的用户名/Library/Developer/Xcode/DerivedData
11
+```
0 commit comments