跳到正文
Skillpedia
界面(UI/UX)48k · #4819

hig-inputs

它能做什么

这个工具可以帮你结合用户与设备的交互方式,设计 Apple 设备上的应用。它涵盖多种输入方式,比如触控、键盘、触控笔,甚至语音。

适用场景

  • ✓在为 iPhone、iPad 或 Mac 设计新应用时。
  • ✓在决定用户如何操控你的应用时。
  • ✓在确保你的应用能在不同 Apple 设备上运行良好时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-inputs/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-inputs/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想为 iPad 上的绘图应用设计交互方式,应该怎么做?”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会参考 Apple 关于用户与设备交互的指南,并针对每个平台推荐最合适的输入方式(触控、触控笔、键盘等)。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Apple HIG: Inputs

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Key Principles

General

  1. Support multiple input methods. Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both touch and pointer; on macOS, both pointer and keyboard.

  2. Consistent feedback for every input action. Visible, audible, or haptic response.

Gestures

  1. Standard gestures must behave consistently. Tap to activate, swipe to scroll/navigate, pinch to zoom, long press for context menus, drag to move. Don't override system gestures (edge swipes for back, Home, notifications).

  2. Use standard recognizers; keep custom gestures discoverable. Apple's built-in recognizers handle edge cases and accessibility. If you add non-standard gestures, provide hints or coaching to teach them.

Apple Pencil

  1. Precision drawing, markup, and selection. Support pressure, tilt, and hover. Distinguish finger from Pencil when appropriate (finger pans, Pencil draws).

  2. Support Scribble in text fields. Users expect to write with Pencil in any text input.

Keyboards

  1. Keyboard shortcuts and full navigation. Standard shortcuts (Cmd+C/V/Z) plus custom ones visible in the iPadOS Command key overlay. Logical tab order.

  2. Respect the software keyboard. Adjust layout when keyboard appears. Use keyboard-avoidance APIs.

Game Controllers

  1. MFi controllers with on-screen fallbacks. Map to extended gamepad profile, sensible defaults, remappable. Always offer touch or keyboard alternatives.

Pointer and Trackpad

  1. Native feel. Hover effects, pointer shape adaptation, standard cursor behaviors. Two-finger scroll, pinch to zoom, swipe to navigate.

Digital Crown

  1. Primary scrolling and value-adjustment input on watchOS. Scrolling lists, adjusting values, navigating views. Haptic feedback at detents.

Eyes and Spatial (visionOS)

  1. Look and pinch. Generous hit targets (eye tracking is less precise than touch). Avoid sustained gaze for activation. Direct hand manipulation in immersive experiences.

Focus System

  1. Critical for tvOS and visionOS. Predictable focus movement. Every interactive element focusable. Clear visual indicators (scale, highlight, elevation). Logical focus groups.

Remotes

  1. Siri Remote: limited surface. Touch area for swiping, clickpad for selection, few physical buttons. Keep interactions simple.

Motion and Nearby

  1. Gyroscope, accelerometer, UWB: use judiciously. Suits gaming, fitness, AR. Not for essential tasks. Provide calibration and reset. For UWB, communicate distance and direction with visual or haptic cues.

Reference Index

Reference Topic Key content
gestures.md Touch gestures Tap, swipe, pinch, long press, drag, system gestures
apple-pencil-and-scribble.md Apple Pencil Precision, pressure, tilt, hover, handwriting
keyboards.md Keyboards Shortcuts, navigation, software keyboard, Command key
game-controls.md Game controllers MFi, extended gamepad, remapping, fallbacks
pointing-devices.md Pointer/trackpad Hover, cursor morphing, trackpad gestures
digital-crown.md Digital Crown Scrolling, value adjustment, haptic detents
eyes.md Eye tracking Look and tap, gaze targeting, hit target sizing
spatial-interactions.md Spatial input Hand gestures, direct manipulation, immersive input
focus-and-selection.md Focus system tvOS/visionOS navigation, focus indicators, groups
remotes.md Remotes Touch surface, clickpad, simple interactions
gyro-and-accelerometer.md Motion sensors Gyroscope, accelerometer, calibration, gaming
nearby-interactions.md Nearby interactions U1 chip, directional finding, proximity triggers
camera-control.md Camera Control iPhone camera hardware button, quick launch

Output Format

…

常见问题

什么是“标准手势”?

这些是用户已经熟悉的常见操作,比如点按选择、滑动滚动或双指捏合缩放。

为什么要考虑不同的输入方式?

每款 Apple 设备(iPhone、iPad、Mac、Apple Watch)的使用方式都不一样,应用需要在所有设备上都运行良好。

什么是“焦点系统”(Focus System)?

这是一套在 Apple TV 和 visionOS 等设备上引导用户注意力的系统。它会标示当前选中的元素,并说明如何在各元素之间切换。

详情

作者的原始描述

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4819
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能