Swiftpack.co -  anioutkazharkova/swiftuinavigator as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Small lightweight library to provide pure SwiftUI navigation in app
.package(url: "https://github.com/anioutkazharkova/swiftuinavigator.git", from: "1.0.0")

SwiftUI Navigator

GitHub tag (latest SemVer) GitHub last commit License GitHub stars GitHub forks GitHub watchers GitHub followers

Twitter URL

Buy Me A Coffee donate button

Small lightweight library to provide pure SwiftUI navigation in app

How to use:

  1. Add SwiftUI via PackageManager
  2. Add import to your files
import SwiftUINavigator
  1. Make your screen Views to implement IItemView protocol
struct SampleView: View, IItemView {
  var listener: INavigationContainer?
  1. Call navigation methods of listener to make a magic:
 self.listener?.push(view: SecondView())


To provide back navigation:

To return to previous screen:


To return to root:



Stars: 3
Last commit: 5 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

First release
5 weeks ago

First release

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API