Loading...
Loading...
Compare original and translation side by side
| Reference | When to Use |
|---|---|
| When choosing window vs volume vs immersive space and their lifecycle boundaries. |
| When deciding what belongs to the app, scene, feature coordinator, RealityKit owner, or view. |
| When proposing a layered or feature-sliced file and module shape. |
| When the app already exists and the main task is refactoring without breaking behavior. |
| When you need to call out structural smells or explain why an approach is wrong. |
| 参考资料 | 使用场景 |
|---|---|
| 当需要选择窗口、体积空间或沉浸式空间及其生命周期边界时。 |
| 当需要确定哪些内容属于应用、场景、功能协调器、RealityKit所有者或视图时。 |
| 当需要提出分层或按功能划分的文件与模块结构时。 |
| 当应用已存在,主要任务是在不破坏现有功能的前提下进行重构时。 |
| 当需要指出结构缺陷或解释某种方案为何不可行时。 |
build-run-debugbuild-run-debugspatial-swiftui-developerrealitykit-visionos-developerarkit-visionos-developershareplay-developerbuild-run-debugspatial-swiftui-developerrealitykit-visionos-developerarkit-visionos-developershareplay-developerbuild-run-debugspatial-swiftui-developerrealitykit-visionos-developerarkit-visionos-developershareplay-developerbuild-run-debugspatial-swiftui-developerrealitykit-visionos-developerarkit-visionos-developershareplay-developerbuild-run-debug