Skill / SKILL.md

Swiftui Navigation Architecture

wei18/apple-dev-skills

Wire SwiftUI navigation as data on the iOS 26 / macOS 26, Swift 6 baseline: one `@Observable @MainActor` Router in `.environment`, `NavigationStack(path:)` over a typed `Route` enum, `navigationDestination(for:)` at the stack root, `item:`-driven sheets and covers, `.onOpenURL` deep links, `NavigationSplitView`, per-tab paths, `Codable` restoration. Use when wiring an App's navigation, choosing push vs sheet vs `fullScreenCover`, adding deep links or restoration, migrating off `NavigationView`, or asked for a router / coordinator in SwiftUI. Runtime bugs → swiftui-interaction-footguns.
3 views 18 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Wire SwiftUI navigation as data on the iOS 26 / macOS 26, Swift 6 baseline: one `@Observable @MainActor` Router in `.environment`, `NavigationStack(path:)` over a typed `Route` enum, `navigationDestination(for:)` at the stack root, `item:`-driven sheets and covers, `.onOpenURL` deep links, `NavigationSplitView`, per-tab paths, `Codable` restoration. Use when wiring an App's navigation, choosing push vs sheet vs `fullScreenCover`, adding deep links or restoration, migrating off `NavigationView`, or asked for a router / coordinator in SwiftUI. Runtime bugs → swiftui-interaction-footguns.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wei18/apple-dev-skills' skill-source

Use the complete skill-source/apple-dev-skills/skills/swiftui-navigation-architecture directory with your client’s skill installer.

  • apple-dev-skills/skills/swiftui-navigation-architecture

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory apple-dev-skills/skills/swiftui-navigation-architecture

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
5ce9dbb399f31022c4e0abce4240cc375cfb7753b893ccbec1733e4e2573af18
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills