Sitemap

Member-only story

Introducing AppRouter

A Clean Navigation Solution for SwiftUI Apps

4 min readMay 31, 2025
Photo by Mick Haupt on Unsplash

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!

Claude code working

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…

--

--

Thomas Ricouard
Thomas Ricouard

Written by Thomas Ricouard

📱 🚀 🇫🇷 [Entrepreneur, iOS/Mac & Web dev] | Now @Medium, @Glose 📖| Past @google 🔍 | Co-founded few companies before, a movies 🎥 app and smart browser one.

Responses (4)