NavigationBackport icon indicating copy to clipboard operation
NavigationBackport copied to clipboard

Backported SwiftUI navigation APIs introduced in WWDC22

Results 16 NavigationBackport issues
Sort by recently updated
recently updated
newest added

Would be nice to have NBNavigationLink support a simple push so we don't have to switch between `NBNavigationLink` and `NavigationLink`: ``` NBNavigationLink { DestinationView() } label: { LabelView() } ```...

I've used another package, [shaps80/SwiftUIBackports](https://github.com/shaps80/SwiftUIBackports), to enable this; how do you feel about introducing other dependencies?

Apple introduced `NavigationSplitView` in WWDC22, this is a backport implementation of it with limitation: - only support double colunm layout (sidebar + detail) - can not nested in NBNavigationStack Pease...

I'm not sure if it's possible to fix this, but at runtime I get the following issue: > NavigationLink presenting a value must appear inside a NavigationContent-based NavigationView. Link will...

## Purpose In use cases where we would normally like to use the `NBNavigationLink`, but need to trigger the same navigation action programmatically, based on a changing state variable, instead...

When using a SwiftUI Button or any other programmatic way, it might be convinient to be able to access the **NavigationPathHolder** EnvironmentObject to manipulate the path directly in sub views.

This PR: - Adds a `Navigator` object accessible via the environment, which gives access to the current navigation path. - Adds utilities for pushing and popping via the navigator, or...

From the SwiftUI interface ([documentation link](https://developer.apple.com/documentation/swiftui/presentedwindowcontent/navigationdestination(ispresented:destination:))): ``` /// Associates a destination view with a binding that can be used to push /// the view onto a ``NavigationStack``. /// /// In...

Hi. I want to use your library but my app support iPhone and iPad. I am using [pointfree's TCA](https://github.com/pointfreeco/swift-composable-architecture) and depend on [navigationDestination(item:destination:)](https://developer.apple.com/documentation/swiftui/view/navigationdestination(item:destination:)) for screen transitions. Could you support it...

Hi, I want to use your library but my app support iPhone and iPad so I need to depend on NavigationSplitView not NavigationStack Could you support it ?