Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 866 Bytes

File metadata and controls

24 lines (17 loc) · 866 Bytes

Custom Navigation in SwiftUI

This repository contains the complete implementation of the custom navigation solution described in my Medium article.

Overview

The project demonstrates how to implement complex navigation patterns in SwiftUI, including:

  • Custom screen transitions with animations
  • Tab-based navigation with preserved state
  • Type-safe navigation between screens
  • Centralized navigation management

Key Features

  • NavigationRouter: Centralized navigation state management
  • Custom Transitions: Smooth, direction-aware screen transitions
  • Tab Navigation: Independent navigation stacks for each tab
  • State Preservation: Maintains navigation state across app restarts

Requirements

  • iOS 16.0+
  • Xcode 14.0+
  • Swift 5.0+