swiftui-navigation
Implement SwiftUI navigation patterns including NavigationStack, NavigationSplitView, sheet presentation, tab-based navigation, and deep linking. Use when building push navigation, programmatic routing, multi-column layouts, modal sheets, tab bars, universal links, or custom URL scheme handling.
npx skills add dpearson2699/swift-ios-skills --skill swiftui-navigation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# SwiftUI Navigation Navigation patterns for SwiftUI apps targeting iOS 26+ with Swift 6.3. Covers push navigation, multi-column layouts, sheet presentation, tab architecture, and deep linking. Patterns are backward-compatible to iOS 17 unless noted. ## Contents - [NavigationStack (Push Navigation)](#navigationstack-push-navigation) - [NavigationSplitView (Multi-Column)](#navigationsplitview-multi-column) - [Sheet Presentation](#sheet-presentation) - [Tab-Based Navigation](#tab-based-navigation) - [Deep Links](#deep-links) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## NavigationStack (Push Navigation) Use `NavigationStack` with a typed `[Route]` binding for programmatic push navigation. Define routes as a `Hashable` enum and map them with `.navigationDestination(for:)`; this keeps the path compile-time checked. Use `NavigationPath` only when one stack must hold heterogeneous route value types. ```swift enum Route: Hashable { case item(id: Item.ID) } struct ContentView: View { @State private var path: [Route] = [] let items: [Item] var body: some View { NavigationStack(path: $path) { List(items) { item in NavigationLink(
- Contents
- NavigationStack (Push Navigation)
- NavigationSplitView (Multi-Column)
- Custom Split Column (Manual HStack)
- Sheet Presentation
- Tab-Based Navigation
- iOS 26 Tab Additions
- Deep Links
- Universal Links
- Custom URL Schemes
- Handoff (NSUserActivity)
- Common Mistakes
- Review Checklist
- References
What does the swiftui-navigation skill do?
Implement SwiftUI navigation patterns including NavigationStack, NavigationSplitView, sheet presentation, tab-based navigation, and deep linking. Use when building push navigation, programmatic routing, multi-column layouts, modal sheets, tab bars, universal links, or custom URL scheme handling.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill swiftui-navigation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.