rebeloper/Navigation Router

  • $49

Stop wrestling SwiftUI Navigation

With this library you can finally have a SwiftUI Navigation as EASY as it should have been in the first place.
Here's a list of features Navigation Router has to offer:
👉 Simple and unified API
👉 Supports iOS, macOS, tvOS and watchOS
👉 Has async/await API ⭐️
👉 Has completion handler API
👉 Fixes the "Publishing changes from within view updates is not allowed, this will cause undefined behaviour" purple warning ⚠️
👉 Supports iOS16 😻 - for iOS14, iOS15 support take a look at Navigation Stack
👉 Supports SwiftUI4 💎
👉 Navigate to any view from any view
👉 Supports Dependency Injection (move data between views easily)
👉 Perfect for deep links
👉 EASY 2 step setup
👉 Navigate with ONLY 1 line of code
👉 Supports stack, .sheet and .fullScreenCover navigation
👉 Create a flow from ANY type of navigation
👉 Supports the brand new NavigationStack
👉 Type-safe navigation
👉 Built in SwiftUI for SwiftUI
👉 Pop to root 🤯
👉 Pop any number of views 🤩
👉 Built in Swift 5.7 and SwiftUI 4
👉 Example Xcode Project
👉 100% Documented

⚠️ IMPORTANT

While Navigation Router is a great solution, let me introduce to you an even better one

NStack

Unified SwiftUI Navigation for iOS14+, macOS11+, tvOS15+ and watchOS7+

You don't have to be an advanced developer to start using Navigation Router!

Step 1.

Set up your Routes.

When you navigate in a Stack style set up Hashable enums.
When you navigate in a Modal style set up @Published Booleans.

Step 2.

Set up your destination views that span from the root view using your Routes.

Push

Push any destination as an action 🙀

All you need is the built in Router and your own Routes.

Pop

Pop all the things! Wherever you like in the Stack.

Present

Present full screen covers / sheets that do NOT have Stack navigation.

Present a Navigation Stack

Present full screen covers / sheets that have Stack navigation.

Pop a Modal

Pop a full screen cover / sheet.

Deep Link

Using multiple push(:_) functions you can deep link to any view.

Deep Pop

Using multiple pop(:_) functions you can pop to anywhere.

Dependency Injection

Injecting dependencies to your views could not be easier.

Async/await and Completion Handlers

All of the API supports async/await and completion handlers.

100% Documented

Every function, every variable, every line of code is thoroughly documented, so you get peace of mind what Navigation Router does under the hood.

Xcode Project

There's an example Xcode project waiting for you with all the use cases!

Contents

Upgrade to NStack

Get 30% OFF

    Version 1.0.0

    Demo.zip
    • 205 KB
    Resources.zip
    • 14.2 KB

    Compatible with:

    Xcode14+ ・ iOS16+ ・ macOS13+・ tvOS16+・ watcOS9+・ Swift5.7