In the Skill's Own Terms
This skill teaches iOS Human Interface Guidelines and SwiftUI patterns for building native iOS applications that follow Apple's design principles. It covers clarity, deference, and depth as core HIG principles, SwiftUI's stack-based and grid layout systems, navigation patterns including NavigationStack and TabView, system integration with SF Symbols and Dynamic Type, and visual design using semantic colors and materials.
The skill addresses iOS, iPadOS, and visionOS platform considerations, focusing on touch-first interfaces, adaptive layouts for different screen sizes, accessibility, and automatic light/dark mode support through semantic styling.
What it produces
- SwiftUI view code with stack-based layouts, navigation patterns, and system integration
How It Works
- 01Apply HIG Principles
Build interfaces following clarity (legible content, precise icons), deference (UI helps users understand content without competing), and depth (visual layers convey hierarchy).
- 02Compose with Stack and Grid Layouts
Use VStack and HStack with alignment and spacing parameters, or LazyVGrid with adaptive or flexible GridItem columns to structure views.
- 03Implement Navigation Patterns
Use NavigationStack with navigationDestination for hierarchical navigation, or TabView with Tab for top-level app sections.
- 04Integrate System Resources
Use SF Symbols with rendering modes and effects, and semantic fonts that respect Dynamic Type instead of fixed sizes.
- 05Apply Semantic Styling
Use semantic colors like .primary and .secondary that automatically adapt to light and dark mode, and system materials for blur effects.