Skillshub ios-hig

Apple iOS HIG Best Practices

install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/pproenca/dot-skills/ios-hig" ~/.claude/skills/comeonoliver-skillshub-ios-hig && rm -rf "$T"
manifest: skills/pproenca/dot-skills/ios-hig/SKILL.md
source content

Apple iOS HIG Best Practices

Comprehensive guide for Apple Human Interface Guidelines compliance in iOS apps built with SwiftUI. Contains 34 rules across 6 categories covering navigation, interaction design, accessibility, user feedback, UX patterns, and visual design.

Clinic Architecture Contract (iOS 26 / Swift 6.2)

All guidance in this skill assumes the clinic modular MVVM-C architecture:

  • Feature modules import
    Domain
    +
    DesignSystem
    only (never
    Data
    , never sibling features)
  • App target is the convergence point and owns
    DependencyContainer
    , concrete coordinators, and Route Shell wiring
  • Domain
    stays pure Swift and defines models plus repository,
    *Coordinating
    ,
    ErrorRouting
    , and
    AppError
    contracts
  • Data
    owns SwiftData/network/sync/retry/background I/O and implements Domain protocols
  • Read/write flow defaults to stale-while-revalidate reads and optimistic queued writes
  • ViewModels call repository protocols directly (no default use-case/interactor layer)

When to Apply

Reference these guidelines when:

  • Building navigation hierarchies with tab bars, NavigationStack, or split views
  • Designing touch interactions, gestures, and haptic feedback
  • Ensuring accessibility with VoiceOver, Dynamic Type, and color contrast
  • Implementing loading states, error handling, and empty states
  • Building onboarding flows, permission requests, and confirmation dialogs
  • Supporting dark mode, SF Symbols, and standard layout margins
  • Reviewing apps for HIG compliance

Rule Categories by Priority

PriorityCategoryImpactPrefix
1NavigationCRITICAL
nav-
2Interaction DesignCRITICAL
inter-
3AccessibilityCRITICAL
acc-
4User FeedbackHIGH
feed-
5UX PatternsHIGH
ux-
6Visual DesignHIGH
vis-

Quick Reference

1. Navigation (CRITICAL)

2. Interaction Design (CRITICAL)

3. Accessibility (CRITICAL)

4. User Feedback (HIGH)

5. UX Patterns (HIGH)

6. Visual Design (HIGH)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

FileDescription
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules