ios-hig by johnrogers/claude-swift-engineering
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill ios-hig广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 动画、触觉反馈、加载状态或错误信息 |
| 性能 | 响应性、系统组件或应用启动 |
| 隐私 | 权限请求、数据处理或隐私敏感 API |
触摸目标小于 44x44 点 — 按钮和交互元素必须至少为 44x44 点 (iOS),以适应拇指操作。较小的目标会导致用户沮丧和可访问性失败。
忽略动态字体约束 — 固定大小的文本不尊重用户的可访问性设置。应使用动态字体大小,用大号或特大号设置进行测试,并避免硬编码字体大小。
深色模式下颜色对比度不足 — 在浅色模式下有效的颜色在深色模式下可能无法满足可访问性要求。应在启用"降低对比度"可访问性设置的情况下测试两种模式。
过渡动画过度 — 在 60fps 下感觉流畅的动画可能会引发有前庭问题的用户的晕动症。应尊重"减弱动态效果"设置,并将动画保持在 300 毫秒以内。
自定义控件缺少 VoiceOver 标签 — 自定义按钮、开关或交互视图需要 .accessibilityLabel() 和 .accessibilityHint(),否则屏幕阅读器用户将完全无法使用。
过度使用触觉反馈 — 并非每个操作都需要触觉反馈。应将触觉反馈保留用于确认(购买、关键操作)和错误情况。过多的触觉反馈会令人厌烦并消耗电池。
每周安装量
141
代码仓库
GitHub 星标数
176
首次出现
2026年1月23日
安全审计
安装于
opencode125
codex122
gemini-cli114
claude-code114
github-copilot112
cursor110
Apple's Human Interface Guidelines define the visual language, interaction patterns, and accessibility standards that make iOS apps feel native and intuitive. The core principle: clarity and consistency through thoughtful design.
ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.
| Reference | Load When |
|---|---|
| Interaction | Touch targets, navigation, layout, hierarchy, or gesture patterns |
| Content | Empty states, writing copy, typography, or placeholder text |
| Visual Design | Colors, materials, contrast, dark mode, or SF Symbols |
| Accessibility | VoiceOver, Dynamic Type, Reduce Motion, or accessibility labels |
| Feedback | Animations, haptics, loading states, or error messages |
| Performance | Responsiveness, system components, or app launch |
| Privacy | Permission requests, data handling, or privacy-sensitive APIs |
Touch targets smaller than 44x44 points — Buttons and interactive elements must be at least 44x44 points (iOS) to accommodate thumbs. Smaller targets cause frustrated users and accessibility failures.
Ignoring Dynamic Type constraints — Text with fixed sizes doesn't respect user accessibility settings. Use Dynamic Type sizes, test with Large or Extra Large settings, and avoid hardcoded font sizes.
Insufficient color contrast in dark mode — Colors that work in light mode may fail accessibility in dark mode. Test with Reduce Contrast accessibility setting enabled for both modes.
Over-animating transitions — Animations that feel smooth at 60fps can trigger motion sickness in users with vestibular issues. Respect Reduce Motion settings and keep animations under 300ms.
Missing VoiceOver labels on custom controls — Custom buttons, toggles, or interactive views need .accessibilityLabel() and .accessibilityHint() or they're completely unusable to screen reader users.
Haptic overuse — Every action does NOT need haptic feedback. Reserve haptics for confirmations (purchase, critical action) and errors. Excessive haptics are annoying and drain battery.
Weekly Installs
141
Repository
GitHub Stars
176
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode125
codex122
gemini-cli114
claude-code114
github-copilot112
cursor110
agentation - AI智能体可视化UI反馈工具,连接人眼与代码的桥梁
5,400 周安装
CRM集成开发指南:Close、HubSpot、Salesforce API对接与双向同步实战
103 周安装
每日技术资讯深度搜集 | 多源交叉验证+重要性评分 | 高质量技术博客生成
103 周安装
前端设计技能:创建独特、生产级UI界面,避免AI垃圾美学,实现创意前端开发
102 周安装
Godot 程序化生成算法合集:噪声、WFC、BSP、LOD地形等10+脚本
103 周安装
AWS Aurora 数据库连接最佳实践:RDS Proxy 与 Data API 无服务器架构指南
105 周安装
国际化i18n最佳实践:React i18next多语言支持、日期格式化和RTL语言处理
70 周安装