
Swiftui Navigation
This covers the modern SwiftUI navigation APIs you actually need: NavigationStack with type-safe routing, NavigationSplitView for iPad layouts, sheet presentation with proper dismiss handling, and TabView architecture with per-tab navigation stacks. The router pattern section is especially useful if you're tired of prop-drilling navigation state through your view hierarchy. It includes iOS 26 additions like search tabs and tab bar minimization, plus practical deep linking setup with universal links and custom URL schemes. The common mistakes section will save you from fighting SwiftUI's navigation quirks, and the manual HStack split pattern is there for when NavigationSplitView doesn't fit your layout needs.
- skills.sh installs
- 4.6K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill swiftui-navigation --agent claude-codeInstalls into .claude/skills of the current project.
Files
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)
- NavigationSplitView (Multi-Column)
- Sheet Presentation
- Tab-Based Navigation
- Deep Links
- Common Mistakes
- Review Checklist
- 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.
enum Route: Hashable {
case item(id: Item.ID)
}
struct ContentView: View {
@State private var path: [Route] = []
let items: [Item]
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Mobile Development, Office & Documents
- First seen
- Apr 16, 2026
More from dpearson2699/swift-ios-skills
All 98- Swift Testing4.5K
- Ios Localization4.5K
- Swift Concurrency4.5K
- Swiftui Layout Components4.4K
- Push Notifications4.4K
- Swiftui Liquid Glass4.3K
- Swiftdata4.3K
- Debugging Instruments4.3K
- Swiftui Uikit Interop4.2K
- Storekit4.2K
- Widgetkit4.2K
- Swiftui Gestures4.2K
- Apple On Device Ai4.2K
- Swift Charts4.2K
- Swift Language4.1K
- App Intents4.1K
- Authentication4.1K
- Background Processing4.1K
- Healthkit4K
- Vision Framework4K
- Coreml3.9K
- Core Bluetooth3.9K
- Core Motion3.8K
- Natural Language3.8K