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 source focuses on iOS and adaptive iPad layouts, with only brief platform notes for visionOS. It recommends Dynamic Type, accessibility labels, semantic styling and physical-device testing; the examples are patterns, not a complete tested app.
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
The snapshot uses NavigationStack for iOS 16+ and the newer Tab syntax for iOS 18+. Match navigation code to the project deployment target.
- 04Integrate System Resources
Use semantic fonts and SF Symbols. The source marks variable symbols as iOS 16+ and symbol effects as iOS 17+; check availability for the target app.
- 05Apply Semantic Styling
Use semantic colors like .primary and .secondary that automatically adapt to light and dark mode, and system materials for blur effects.