One-click install
npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-swiftui-nav-ref
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-swiftui-nav-ref
Source: https://github.com/tuliopc23/flying-dutchman-app/tree/main/.claude/skills/axiom-swiftui-nav-ref
Command: npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-swiftui-nav-ref

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive reference for SwiftUI's navigation APIs, helping developers understand and implement complex navigation patterns across different iOS versions and device types.

Core Features & Use Cases

  • API Reference: Detailed guides on NavigationStack, NavigationSplitView, NavigationPath, deep linking, state restoration, and Tab+Navigation integration.
  • Version Compatibility: Covers features from iOS 16 up to the latest iOS 26 advancements like Liquid Glass navigation.
  • Use Case: A developer needs to implement deep linking for a new feature in their app. They can consult this Skill to find the exact code examples and best practices for handling URL routing with NavigationPath.

Quick Start

Use the axiom-swiftui-nav-ref skill to learn how to create a NavigationStack with a path binding.

Frequently Asked Questions about axiom-swiftui-nav-ref

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement programmatic navigation with NavigationStack in SwiftUI?

SwiftUI programmatic navigation with NavigationStack uses a NavigationPath binding to push and pop views. You can append route values to the path array to navigate programmatically and remove elements to pop back, enabling precise control over the navigation hierarchy.

What is the best way to handle deep linking in a SwiftUI NavigationStack?

Handling deep linking in a SwiftUI NavigationStack involves mapping incoming URLs to NavigationPath values. By appending corresponding hashable route representations to your path binding, you can programmatically drive the navigation stack to display the targeted view.

How does NavigationSplitView work for multi-column layouts in SwiftUI?

NavigationSplitView in SwiftUI builds multi-column layouts by defining sidebar, content, and detail sections. It manages column visibility and state automatically, allowing you to create adaptive interfaces for iPadOS and macOS that collapse into a stack on compact size classes.

Does this SwiftUI navigation reference cover state restoration for NavigationPath?

Yes, this SwiftUI navigation reference covers state restoration for NavigationPath. It details how to encode and decode the navigation path to persist the user's current location, ensuring the app restores its exact navigation state across app relaunches.

Can I integrate NavigationStack with a TabView in SwiftUI?

Yes, you can integrate NavigationStack with a TabView in SwiftUI. This reference details tab unification strategies, showing how to manage independent navigation paths per tab while maintaining state persistence and supporting deep linking across the entire tab interface.

What are the limitations of using NavigationPath for complex router patterns in SwiftUI?

NavigationPath in SwiftUI is type-erased, which can complicate complex router or coordinator patterns by limiting compile-time type safety for route values. This reference offers best practices to structure your router logic and mitigate these architectural constraints.