Member-only story
Introducing AppRouter
A Clean Navigation Solution for SwiftUI Apps
After working with SwiftUI navigation across multiple projects — from Ice Cubes to various applications, to Medium, I kept running into the same patterns and challenges. Navigation in SwiftUI can be elegant when it’s simple, but as your app grows in complexity, managing navigation state becomes increasingly messy.
That’s why I built AppRouter: a generic, reusable navigation router that handles both simple single-stack navigation and complex tab-based apps with independent navigation stacks.
Its current form is from Icy Sky, and I decided to make it a standalone Swift package, finally! Thanks to Claude Code, which allowed me to do that in minutes instead of hours!
The screenshot above shows Claude Code working on extracting the code from the Icy Sky codebase into a standalone Swift Package. It did the renaming, documentation…