swiftui-navigation

Implement SwiftUI navigation patterns including NavigationStack, NavigationSplitView, sheets, tabs, and deep linking.

3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/andrew-d/claude-skills --skill swiftui-navigation-andrew-d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-navigation
Source: https://github.com/andrew-d/claude-skills/tree/main/plugins/swift-ios-skills--swiftui-skills/skills/swiftui-navigation
Command: npx skills add https://github.com/andrew-d/claude-skills --skill swiftui-navigation-andrew-d

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers implement complex navigation flows in SwiftUI applications, ensuring a smooth and intuitive user experience across different devices and iOS versions.

Core Features & Use Cases

  • Push Navigation: Implement hierarchical navigation using NavigationStack.
  • Multi-Column Layouts: Create adaptive interfaces with NavigationSplitView for iPad and Mac.
  • Sheet Presentation: Manage modal views effectively using .sheet(item:).
  • Tab-Based Navigation: Structure applications with TabView and independent navigation stacks per tab.
  • Deep Linking: Handle Universal Links and custom URL schemes to route users to specific app content.

Quick Start

Use the swiftui-navigation skill to implement a NavigationStack for push navigation in your SwiftUI app.

Frequently Asked Questions about swiftui-navigation

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

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

Programmatic routing in SwiftUI uses NavigationStack to manage hierarchical push navigation paths dynamically. You can drive view transitions programmatically by binding a navigation path to the stack, enabling precise control over view state.

What is the best way to create multi-column layouts for iPad using SwiftUI?

Multi-column layouts in SwiftUI are built with NavigationSplitView to create adaptive interfaces for iPad and Mac. This approach manages multiple column views, automatically adapting them into a single stack on compact devices.

How do I handle Universal Links and custom URL schemes for deep linking in iOS apps?

Handle deep linking in iOS apps by parsing Universal Links and custom URL schemes to route users to specific content. This involves defining URL patterns and mapping the extracted path components to your SwiftUI navigation state.

Can I manage independent navigation stacks for each tab in a SwiftUI TabView?

Yes, tab-based navigation in SwiftUI supports structuring apps with TabView while maintaining independent navigation stacks per tab. This ensures each tab retains its own navigation history and state when switching between them.

How do I present modal views effectively using sheets in SwiftUI?

Present modal views in SwiftUI by managing sheet presentation effectively with the .sheet(item:) modifier. This binds the sheet's visibility to an identifiable item, ensuring smooth modal view dismissal and state management.

When should I use NavigationSplitView instead of NavigationStack for app architecture?

Use NavigationSplitView for adaptive multi-column interfaces on iPad and Mac, whereas NavigationStack is better suited for linear, hierarchical push navigation on iPhone. Choose based on your target devices and UI flow.