hig-components-content by raintree-technology/apple-hig-skills
npx skills add https://github.com/raintree-technology/apple-hig-skills --skill hig-components-content在提问前,请检查 .claude/apple-design-context.md。使用现有上下文,仅询问尚未涵盖的信息。
| 参考 | 主题 | 关键内容 |
|---|---|---|
| charts.md | 图表 | Swift Charts、条形/折线/面积/点标记、图表可访问性、音频图表 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 集合 |
| 网格/列表布局、组合布局、选择、重新排序、可区分数据源 |
| image-views.md | 图像视图 | 宽高比处理、内容模式、SF Symbol 图像、可访问性 |
| image-wells.md | 图像井 | 拖放图像选择、macOS 特有、占位符内容 |
| color-wells.md | 颜色井 | 颜色选择 UI、系统颜色选择器、自定义色彩空间 |
| web-views.md | 网页视图 | WKWebView、SFSafariViewController、导航控件、内容限制 |
| activity-views.md | 活动视图 | 分享表单、活动项、自定义活动、操作扩展 |
| lockups.md | 锁定视图 | 图像+文本元素、tvOS 卡片布局、焦点效果、货架布局 |
| 内容需求 | 推荐组件 | 平台说明 |
|---|---|---|
| 可视化定量数据 | 图表 (Swift Charts) | iOS 16+, macOS 13+, watchOS 9+ |
| 浏览网格或列表项目 | 集合视图 | 组合布局适用于复杂排列 |
| 显示单个图像 | 图像视图 | 支持宽高比适配;提供可访问性描述 |
| 通过拖放或浏览选择图像 | 图像井 | 主要在 macOS 上使用;iOS 上使用图像选择器 |
| 选择颜色 | 颜色井 | 触发系统颜色选择器;macOS, iOS 14+ |
| 内联显示网页内容 | 网页视图 (WKWebView) | 使用 SFSafariViewController 进行外部浏览 |
| 将内容分享到其他应用 | 活动视图 | 系统分享表单,可配置活动类型 |
| 内容卡片 (图像 + 文本) | 锁定视图 | 主要在 tvOS 上使用;可适配其他平台 |
由 Raintree Technology 构建 · 更多开发者工具
每周安装量
74
代码仓库
GitHub 星标
29
首次出现
2026年2月15日
安全审计
安装于
opencode72
github-copilot70
codex69
cursor69
gemini-cli68
amp68
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
Adapt to different sizes and contexts. Content components must work across screen sizes, orientations, and multitasking configurations. Use Auto Layout and size classes.
Make content accessible. Charts need audio graph support. Images need alt text. Collections need proper VoiceOver navigation order. All content components need labels and descriptions.
Maintain visual hierarchy. Use spacing, sizing, and grouping to establish clear information hierarchy. Primary content should be visually prominent.
Use system components first. Evaluate UICollectionView, SwiftUI Charts, WKWebView before building custom. System components come with built-in accessibility and platform adaptation.
Respect platform conventions. A collection on tvOS uses large lockups with parallax. The same collection on iOS uses compact cells with touch targets. On visionOS, content gains depth and hover effects.
Handle empty states. Show a meaningful empty state with guidance on how to populate it, not a blank screen.
Optimize for performance. Use lazy loading, cell reuse, pagination, and prefetching for large datasets.
| Reference | Topic | Key content |
|---|---|---|
| charts.md | Charts | Swift Charts, bar/line/area/point marks, chart accessibility, audio graphs |
| collections.md | Collections | Grid/list layouts, compositional layout, selection, reordering, diffable data sources |
| image-views.md | Image Views | Aspect ratio handling, content modes, SF Symbol images, accessibility |
| image-wells.md | Image Wells | Drag-and-drop image selection, macOS-specific, placeholder content |
| color-wells.md | Color Wells | Color selection UI, system color picker, custom color spaces |
| Content Need | Recommended Component | Platform Notes |
|---|---|---|
| Visualizing quantitative data | Charts (Swift Charts) | iOS 16+, macOS 13+, watchOS 9+ |
| Browsing a grid or list of items | Collection View | Compositional layout for complex arrangements |
| Displaying a single image | Image View | Support aspect ratio fitting; provide accessibility description |
| Selecting an image via drag or browse | Image Well | macOS primarily; use image pickers on iOS |
| Selecting a color | Color Well | Triggers system color picker; macOS, iOS 14+ |
| Showing web content inline | Web View (WKWebView) | Use SFSafariViewController for external browsing |
| Sharing content to other apps | Activity View | System share sheet with configurable activity types |
| Content card (image + text) | Lockup | Primarily tvOS; adaptable to other platforms |
Built byRaintree Technology · More developer tools
Weekly Installs
74
Repository
GitHub Stars
29
First Seen
Feb 15, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode72
github-copilot70
codex69
cursor69
gemini-cli68
amp68
agentation - AI智能体可视化UI反馈工具,连接人眼与代码的桥梁
5,400 周安装
专业合同审核AI工具 - Contract Review Pro | 律师法务合同审查助手,支持18类合同
121 周安装
OpenClaw专家技能clawpilot:AI代理安全配置、自动更新与核心架构指南
118 周安装
盲点侦探:系统识别非虚构写作缺失内容,提升内容全面性与可信度
120 周安装
OpenClaw Feeds RSS聚合器:新闻、游戏、金融信息源一键获取,支持流式JSON输出
122 周安装
union-search-skill:跨平台联合搜索工具,支持20+平台无API密钥搜索
118 周安装
Ant Design Vue 4.x 中文指南:Vue 3 UI 组件库安装、使用与API详解
126 周安装
| web-views.md | Web Views | WKWebView, SFSafariViewController, navigation controls, content restrictions |
| activity-views.md | Activity Views | Share sheets, activity items, custom activities, action extensions |
| lockups.md | Lockups | Image+text elements, tvOS card layouts, focus effects, shelf layouts |