Skip to content

foyoodo/NavigationCoordinatable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NavigationCoordinatable

A simple, delightful implementation of the Coordinator pattern in SwiftUI, also compatible with UIKit. Inspired by Stinsen.

What's different with Stinsen

In pure SwiftUI, it uses NavigationStack instead of NavigationView, which allows attaching future NavigationStack functionalities. Additionally, we can use navigation transitions like zoom on iOS 18+. We can also present a SwiftUI view in UIKit using UIHostingController without needing navigation-based handling.

Requirements

  • iOS 16.0 (or newer)
  • macOS 13.0 (or newer)

Installation

https://github.com/foyoodo/NavigationCoordinatable.git

In your Package.swift

.package(url: "https://github.com/foyoodo/NavigationCoordinatable.git", .branch("main"))

About

Coordinating SwiftUI navigation, compatible with UIKit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages