Logo Apple Hig

Apple Hig

Cộng đồng
viralcode
apple-hig

Expert guide for designing iOS, macOS, watchOS, tvOS, and visionOS apps following Apple Human Interface Guidelines. Use when building Apple platform apps or interfaces, implementing SF Symbols, designing with iOS components, following accessibility guidelines, or creating native Apple experiences. Covers design principles, patterns, components, typography, color, layout, navigation, and platform-specific conventions.

Add to TypingMind

Tổng quan

Nhà phát hànhviralcode
Kho mãopenwhale
Tên kỹ năngapple-hig
Sao
65
Bản fork
11
Tệp đi kèm
8
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 8 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được viralcode công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Apple Hig trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/viralcode/openwhale/tree/main/skills/apple-hig
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/viralcode/openwhale.git /tmp/openwhale
mkdir -p .claude/skills
cp -r /tmp/openwhale/skills/apple-hig .claude/skills/apple-hig
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Apple Hig trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Apple Hig ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Apple Hig với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Apple Human Interface Guidelines Skill

Design exceptional experiences for Apple platforms following official Apple HIG principles, patterns, and best practices.

Core Design Principles

Clarity

  • Text must be legible at every size
  • Icons should be precise and lucid
  • Adornments are subtle and appropriate
  • Functionality is obvious through focus on content

Deference

  • Content fills the entire screen while UI stays out of the way
  • Translucency and blurring hint at more content
  • Minimal use of bezels, gradients, and shadows keeps interface light and airy

Depth

  • Visual layers and realistic motion convey hierarchy and vitality
  • Touch and discoverability heighten delight
  • Smooth transitions maintain spatial orientation

Platform-Specific Guidelines

###iOS / iPadOS

Key Characteristics:

  • Touch-first interaction
  • Portrait and landscape orientations
  • Safe area respect (notch, Dynamic Island, home indicator)
  • Gestures: swipe, tap, long press, pinch, rotate

Layout:

  • Use SF Pro text (system font)
  • Respect safe areas and readable content guides
  • Adopt Auto Layout for adaptive interfaces
  • Support Dynamic Type for accessibility

Navigation:

  • Tab Bar: 3-5 primary destinations, always visible
  • Navigation Bar: Hierarchical browsing, back button
  • Search: Prominent when important to app experience

For complete iOS patterns, see references/ios.md

macOS

Key Characteristics:

  • Mouse/trackpad/keyboard interaction
  • Resizable windows
  • Menu bar at top of screen
  • Dock for launching apps

Layout:

  • Use SF Pro (system font)
  • Window controls (close, minimize, zoom) on left
  • Sidebars for navigation (leading edge)
  • Toolbars for primary actions

Interaction:

  • Right-click context menus
  • Keyboard shortcuts (⌘ Command key)
  • Drag and drop between windows

For complete macOS patterns, see references/macos.md

watchOS

Key Characteristics:

  • Glanceable information
  • Quick interactions
  • Digital Crown and side button
  • Always-on display support

Layout:

  • SF Compact (rounded system font for watches)
  • Edge-to-edge content
  • Vertical scrolling preferred

Interaction:

  • Tap: Primary action
  • Digital Crown: Scroll and zoom
  • Force Touch: (older models) Context menu
  • Raise to wake

For complete watchOS patterns, see references/watchos.md

tvOS

Key Characteristics:

  • 10-foot viewing distance
  • Siri Remote (directional pad + touch)
  • Focus-driven navigation
  • Parallax effects

Layout:

  • SF Pro (system font)
  • Large touch targets (minimum 250pt)
  • Grid layouts for content
  • Focus engine handles navigation

Interaction:

  • Directional: Up/down/left/right focus movement
  • Select (click): Primary action
  • Menu: Back navigation
  • Siri: Voice commands

For complete tvOS patterns, see references/tvos.md

visionOS

Key Characteristics:

  • Spatial computing environment
  • 3D depth and windows
  • Eye tracking + hand gestures
  • Immersive and windowed modes

Layout:

  • Depth and layers in 3D space
  • Glass materials with vibrancy
  • SF Pro (system font)

Interaction:

  • Gaze + pinch: Primary selection
  • Hand gestures: Tap, drag, rotate
  • Voice: Siri commands
  • Immersion: Dial controls environment blend

For complete visionOS patterns, see references/visionos.md

Typography

SF Symbols

  • 6,000+ icons designed by Apple
  • Variable weight and scale (Ultralight to Black)
  • Multicolor, hierarchical, palette, monochrome rendering modes
  • SF Symbols 6 latest version

Usage:

swift
Image(systemName: "star.fill")
Image(systemName: "heart.circle.fill")

Guidelines:

  • Match symbol weight to text weight
  • Use filled variants for selected states
  • Leverage multicolor for semantic meaning

San Francisco (SF)

Apple's system font family optimized for legibility:

  • SF Pro: iOS, macOS, tvOS
  • SF Compact: watchOS (rounded)
  • SF Mono: Code and tabular data
  • SF Arabic, SF Hebrew: Localized variants

Text Styles (Dynamic Type):

  • Large Title, Title 1/2/3
  • Headline, Body, Callout
  • Subheadline, Footnote, Caption 1/2

Always support Dynamic Type for accessibility.

Color

System Colors

Use semantic colors that adapt to light/dark mode:

  • Label: Primary text
  • Secondary Label: Secondary text
  • Tertiary Label: Disabled text
  • System Background: Main background
  • System Fill: Fill colors for UI elements

Accent Colors

  • Use accent color for interactive elements (buttons, links)
  • Ensure sufficient contrast (WCAG AA: 4.5:1 for text)
  • Test in both light and dark modes

Vibrancy

  • Materials: Blur backgrounds to show depth
  • Vibrancy: Colors that adapt to material behind them

Components

iOS Components

Buttons:

  • Filled, Tinted, Gray, Plain styles
  • Size: Small, Medium, Large
  • Use SF Symbols for icons

Lists:

  • Inset grouped style (modern iOS)
  • Swipe actions (leading/trailing)
  • Context menus

Sheets:

  • Modal presentation
  • Detents: medium, large
  • Drag to dismiss

Navigation:

  • Large titles (iOS 11+)
  • Inline titles for scrolled state
  • Search bar integration

For all iOS components, see references/ios-components.md

macOS Components

Windows:

  • Standard, utility, panel types
  • Titlebar styles: default, transparent, unified
  • Sidebars and split views

Toolbars:

  • Icon + text or icon-only buttons
  • Segmented controls for views
  • Search fields

For all macOS components, see references/macos-components.md

Layout & Spacing

Grid System

  • 8pt grid as baseline (iOS, macOS)
  • Margins: 16pt (iPhone), 20pt (iPad), 20pt (Mac)
  • Spacing: 8pt, 16pt, 24pt, 32pt standard increments

Safe Areas

  • Top: Status bar, notch, Dynamic Island
  • Bottom: Home indicator (iPhone), dock (iPad)
  • Leading/Trailing: Avoid placing content too close to edges

Adaptive Layouts

  • Size classes: Compact, Regular (width/height)
  • Trait variations: Light/Dark mode, Dynamic Type sizes
  • Support landscape and portrait

Accessibility

VoiceOver

  • Provide meaningful accessibility labels
  • Group related elements
  • Ensure logical focus order

Dynamic Type

  • Support all text sizes (from -3 to +7 default)
  • Test at Accessibility sizes (AX1-AX5)
  • Use scalable fonts and layouts

Color Contrast

  • WCAG AA: 4.5:1 for normal text, 3:1 for large text
  • WCAG AAA: 7:1 for normal text, 4.5:1 for large text
  • Test with grayscale and color blindness modes

Reduce Motion

  • Provide alternatives to animations
  • Use crossfade instead of slides when motion reduced

Interaction Patterns

Gestures (iOS/iPadOS)

  • Tap: Primary action
  • Long press: Context menu or drag preview
  • Swipe: Navigate, delete, reveal actions
  • Pinch: Zoom in/out
  • Rotate: Rotate content
  • Edge swipe: Back navigation

Haptics (iOS)

  • Impact: Physical collision or boundary
  • Notification: Success, warning, error
  • Selection: Picker or toggle change

Keyboard Shortcuts (macOS/iPadOS)

  • ⌘ Command: Primary actions (⌘N new, ⌘S save)
  • ⇧ Shift: Modify command (⇧⌘S save as)
  • ⌥ Option: Alternative behavior
  • ⌃ Control: Context-specific

Animation & Motion

Duration

  • Quick: 0.2-0.3s (button press, small transitions)
  • Standard: 0.3-0.5s (screen transitions, sheets)
  • Slow: 0.5-0.8s (complex, spatial transitions)

Easing

  • Ease In/Out: Standard for most animations
  • Spring: Natural, playful motion
  • Linear: Progress indicators only

Principles

  • Continuity: Elements smoothly transition
  • Anticipation: Hint at upcoming change
  • Follow-through: Motion completes naturally

Dark Mode

Guidelines

  • Test both modes during development
  • Use semantic colors (system colors adapt automatically)
  • Elevate surfaces with subtle color increases (not just lighter)
  • Avoid pure black (#000000) — use dark gray for true blacks

Materials

  • iOS: .systemBackground, .secondarySystemBackground, .tertiarySystemBackground
  • macOS: .windowBackgroundColor, .controlBackgroundColor

Platform Integration

iOS Features

  • Widgets: Home Screen, Lock Screen, StandBy
  • Live Activities: Dynamic Island, Lock Screen
  • App Clips: Lightweight app experiences
  • Shortcuts: Siri Shortcuts integration
  • App Intents: System-level actions

macOS Features

  • Menu Bar: Global app menus
  • Dock: App icon with badges
  • Touch Bar: (older MacBook Pros)
  • Extensions: Share, Today, Finder
  • Continuity: Handoff, Universal Clipboard

Quick Reference

PlatformFontGridSafe AreasPrimary Interaction
iOSSF Pro8ptYes (notch/home indicator)Touch
macOSSF Pro8ptNoMouse/keyboard
watchOSSF Compact-Yes (round/square)Digital Crown + tap
tvOSSF Pro-Yes (overscan)Siri Remote focus
visionOSSF Pro-Yes (spatial bounds)Gaze + gesture

Resources


Based on Apple Human Interface Guidelines - https://developer.apple.com/design/human-interface-guidelines

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Apple Hig làm được gì?

Expert guide for designing iOS, macOS, watchOS, tvOS, and visionOS apps following Apple Human Interface Guidelines. Use when building Apple platform apps or interfaces, implementing SF Symbols, designing with iOS components, following accessibility guidelines, or creating native Apple experiences. Covers design principles, patterns, components, typography, color, layout, navigation, and platform-specific conventions.

Vì sao nên dùng Apple Hig trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Apple Hig là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Apple Hig trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/viralcode/openwhale/tree/main/skills/apple-hig. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Apple Hig?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Apple Hig với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Apple Hig với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Apple Hig có miễn phí không?

Kỹ năng này được viralcode phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇