What problem does it solve?
This Skill prevents common SwiftUI navigation bugs, ensuring smooth user experiences across different devices and iOS versions by guiding developers on choosing the right navigation patterns and implementing them correctly.
Core Features & Use Cases
- Navigation Architecture: Guides selection between
NavigationStack, NavigationSplitView, and TabView.
- Deep Linking & State Restoration: Provides patterns for robust deep linking and preserving navigation state.
- Code Review: Offers a checklist and anti-pattern identification to prevent common navigation errors.
- Use Case: A developer is unsure whether to use
NavigationStack or NavigationSplitView for a new feature. This Skill provides a decision tree and code examples to help them choose the most appropriate pattern, preventing future state corruption or deep link failures.
Quick Start
Use the axiom-swiftui-nav skill to understand how to implement programmatic navigation in SwiftUI using NavigationPath.