axiom-apple-docs
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseApple Documentation Router
Apple文档路由指南
Apple bundles for-LLM markdown documentation inside Xcode. These are authoritative, up-to-date guides and diagnostics written by Apple engineers. Use them alongside Axiom skills for the most accurate information.
Apple在Xcode中内置了面向大语言模型的Markdown文档。这些是由Apple工程师编写的权威、最新的指南和诊断内容。将它们与Axiom技能结合使用,可获取最准确的信息。
When to Use
使用场景
Use Apple's bundled docs when:
- You need the exact API signature or behavior from Apple
- Axiom skills reference an Apple framework and you want the official source
- A Swift compiler diagnostic needs explanation
- The user asks about a specific Apple framework feature
Priority: Axiom skills provide opinionated guidance (decision trees, anti-patterns, pressure scenarios). Apple docs provide authoritative API details. Use both together.
在以下场景下使用Apple内置文档:
- 你需要Apple官方的精确API签名或行为说明
- Axiom技能引用了某个Apple框架,而你需要查看官方来源
- 需要对Swift编译器诊断信息进行解释
- 用户询问某个Apple框架的特定功能
优先级说明:Axiom技能提供带有主观判断的指导(如决策树、反模式、压力场景)。Apple文档提供权威的API细节。建议结合两者使用。
Guide Topics (AdditionalDocumentation)
指南主题(附加文档)
Read these with the MCP tool using the skill name.
axiom_read_skill使用MCP的工具,通过技能名称来阅读这些内容。
axiom_read_skillUI & Design
UI与设计
| Topic | Skill Name |
|---|---|
| Liquid Glass in SwiftUI | |
| Liquid Glass in UIKit | |
| Liquid Glass in AppKit | |
| Liquid Glass in WidgetKit | |
| SwiftUI toolbar features | |
| SwiftUI styled text editing | |
| SwiftUI WebKit integration | |
| SwiftUI AlarmKit integration | |
| Swift Charts 3D visualization | |
| Foundation AttributedString | |
| 主题 | 技能名称 |
|---|---|
| SwiftUI中的Liquid Glass | |
| UIKit中的Liquid Glass | |
| AppKit中的Liquid Glass | |
| WidgetKit中的Liquid Glass | |
| SwiftUI工具栏功能 | |
| SwiftUI样式文本编辑 | |
| SwiftUI WebKit集成 | |
| SwiftUI AlarmKit集成 | |
| Swift Charts 3D可视化 | |
| Foundation AttributedString | |
Data & Persistence
数据与持久化
| Topic | Skill Name |
|---|---|
| SwiftData class inheritance | |
| 主题 | 技能名称 |
|---|---|
| SwiftData类继承 | |
Concurrency & Performance
并发与性能
| Topic | Skill Name |
|---|---|
| Swift concurrency updates | |
| InlineArray and Span | |
| 主题 | 技能名称 |
|---|---|
| Swift并发更新 | |
| InlineArray与Span | |
Apple Intelligence
Apple智能
| Topic | Skill Name |
|---|---|
| Foundation Models (on-device LLM) | |
| 主题 | 技能名称 |
|---|---|
| Foundation Models(设备端大语言模型) | |
System Integration
系统集成
| Topic | Skill Name |
|---|---|
| App Intents updates | |
| StoreKit updates | |
| MapKit GeoToolbox | |
| Widgets for visionOS | |
| 主题 | 技能名称 |
|---|---|
| App Intents更新 | |
| StoreKit更新 | |
| MapKit GeoToolbox | |
| visionOS组件 | |
Accessibility
无障碍功能
| Topic | Skill Name |
|---|---|
| Assistive Access in iOS | |
| 主题 | 技能名称 |
|---|---|
| iOS辅助访问实现 | |
Computer Vision
计算机视觉
| Topic | Skill Name |
|---|---|
| Visual Intelligence in iOS | |
| 主题 | 技能名称 |
|---|---|
| iOS视觉智能实现 | |
Swift Compiler Diagnostics
Swift编译器诊断信息
These explain specific Swift compiler errors and warnings with examples and fixes.
这些内容会结合示例和修复方案,解释特定的Swift编译器错误与警告。
Concurrency Diagnostics
并发相关诊断
| Diagnostic | Skill Name |
|---|---|
| Actor-isolated call from nonisolated context | |
| Conformance isolation | |
| Isolated conformances | |
| Nonisolated nonsending by default | |
| Sendable closure captures | |
| Sendable metatypes | |
| Sending closure risks data race | |
| Sending risks data race | |
| Mutable global variable | |
| Preconcurrency import | |
| 诊断内容 | 技能名称 |
|---|---|
| 从非隔离上下文调用Actor隔离方法 | |
| 一致性隔离 | |
| 隔离一致性 | |
| 默认非隔离非发送 | |
| Sendable闭包捕获 | |
| Sendable元类型 | |
| 发送闭包存在数据竞争风险 | |
| 发送操作存在数据竞争风险 | |
| 可变全局变量 | |
| 预并发导入 | |
Type System Diagnostics
类型系统诊断
| Diagnostic | Skill Name |
|---|---|
| Existential any | |
| Existential member access limitations | |
| Nominal types | |
| Multiple inheritance | |
| Protocol type non-conformance | |
| Opaque type inference | |
| 诊断内容 | 技能名称 |
|---|---|
| 存在类型any | |
| 存在类型成员访问限制 | |
| 标称类型 | |
| 多重继承 | |
| 协议类型不一致 | |
| 不透明类型推断 | |
Build & Migration Diagnostics
构建与迁移诊断
| Diagnostic | Skill Name |
|---|---|
| Deprecated declaration | |
| Error in future Swift version | |
| Strict language features | |
| Strict memory safety | |
| Implementation only deprecated | |
| Member import visibility | |
| Missing module on known paths | |
| Clang declaration import | |
| Availability unrecognized name | |
| Unknown warning group | |
| 诊断内容 | 技能名称 |
|---|---|
| 已废弃声明 | |
| 未来Swift版本中的错误 | |
| 严格语言特性 | |
| 严格内存安全 | |
| 仅实现已废弃 | |
| 成员导入可见性 | |
| 已知路径上缺少模块 | |
| Clang声明导入 | |
| 可用性未识别名称 | |
| 未知警告组 | |
Swift Language Diagnostics
Swift语言诊断
| Diagnostic | Skill Name |
|---|---|
| Dynamic callable requirements | |
| Property wrapper requirements | |
| Result builder methods | |
| String interpolation conformance | |
| Trailing closure matching | |
| Temporary pointers | |
| 诊断内容 | 技能名称 |
|---|---|
| 动态可调用要求 | |
| 属性包装器要求 | |
| 结果构建器方法 | |
| 字符串插值一致性 | |
| 尾随闭包匹配 | |
| 临时指针 | |
Routing Decision Tree
路由决策树
User question about Apple API/framework?
├── Specific compiler error/warning → Read matching apple-diag-* skill
├── Liquid Glass implementation → Read apple-guide-*-liquid-glass-design (SwiftUI/UIKit/AppKit)
├── Swift concurrency patterns → Read apple-guide-swift-concurrency-updates
├── Foundation Models / on-device AI → Read apple-guide-foundationmodels-*
├── SwiftData features → Read apple-guide-swiftdata-*
├── StoreKit / IAP → Read apple-guide-storekit-updates
├── App Intents / Siri → Read apple-guide-appintents-updates
├── Charts / visualization → Read apple-guide-swift-charts-3d-visualization
├── Text editing / AttributedString → Read apple-guide-swiftui-styled-text-editing or apple-guide-foundation-attributedstring-updates
├── WebKit in SwiftUI → Read apple-guide-swiftui-webkit-integration
├── Toolbar features → Read apple-guide-swiftui-new-toolbar-features
└── Other → Search with axiom_search_skills using source filter "apple"用户的问题是否涉及Apple API/框架?
├── 特定编译器错误/警告 → 阅读对应的apple-diag-*技能
├── Liquid Glass实现 → 阅读apple-guide-*-liquid-glass-design(SwiftUI/UIKit/AppKit)
├── Swift并发模式 → 阅读apple-guide-swift-concurrency-updates
├── Foundation Models / 设备端AI → 阅读apple-guide-foundationmodels-*
├── SwiftData功能 → 阅读apple-guide-swiftdata-*
├── StoreKit / 内购 → 阅读apple-guide-storekit-updates
├── App Intents / Siri → 阅读apple-guide-appintents-updates
├── 图表/可视化 → 阅读apple-guide-swift-charts-3d-visualization
├── 文本编辑 / AttributedString → 阅读apple-guide-swiftui-styled-text-editing或apple-guide-foundation-attributedstring-updates
├── SwiftUI中的WebKit → 阅读apple-guide-swiftui-webkit-integration
├── 工具栏功能 → 阅读apple-guide-swiftui-new-toolbar-features
└── 其他情况 → 使用axiom_search_skills工具并设置源过滤器为"apple"进行搜索Resources
资源
Skills: axiom-ios-ui, axiom-ios-concurrency, axiom-ios-data, axiom-ios-ai, axiom-ios-integration
相关技能:axiom-ios-ui, axiom-ios-concurrency, axiom-ios-data, axiom-ios-ai, axiom-ios-integration