Implements robust SwiftUI navigation patterns, deep linking, and state restoration for modern xOS applications while preventing common state corruption bugs.
This skill provides a comprehensive framework for architecting navigation in modern Apple platforms, specifically targeting iOS 18 and beyond. It guides developers through selecting the right containers—such as NavigationStack or NavigationSplitView—while offering battle-tested patterns for programmatic routing, complex deep linking, and resilient state restoration. By enforcing best practices like MainActor isolation and avoiding deprecated views, it ensures that app navigation remains responsive and bug-free across diverse device form factors.
主な機能
01Architecture decision trees for NavigationStack vs. NavigationSplitView
02Detection and prevention of navigation anti-patterns
03Programmatic navigation patterns using NavigationPath
0461 GitHub stars
05State restoration strategies using Codable and SceneStorage
06Deep linking and URL routing implementation guidance
ユースケース
01Choosing between stack, split, or tab-based navigation for multi-platform apps
02Ensuring navigation state is preserved across app restarts and backgrounding
03Implementing deep links that correctly route to specific nested content