pointfreeco / swift-composable-architecture

A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
https://www.pointfree.co/collections/composable-architecture
MIT License
12.07k stars 1.41k forks source link

Add @_SPI(Internal) to some more navigation apis #3097

Closed Alex293 closed 3 months ago

Alex293 commented 3 months ago

I'm working on back-porting iOS 16 NavigationStack and every TCA related apis. I managed to make a demo here but I needed to @testable import ComposableArchitecture

This branch contains the apis required but keep them behind @_SPI(Internals) as the rest of those apis.

Alex293 commented 3 months ago

Related to #1674

Alex293 commented 3 months ago

Yeah I know but TCA + SwiftUI apis are too good to ignore and we are stuck on iOS 15 and might be for a while as it dropped devices.

Alex293 commented 3 months ago

Also I’d gladly switch to a TCA provided uinavigationcontroller solution if it could support both tree and stack navigation. I couldn’t make your branch work before iOS 16.