Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

Alex293
Copy link
Contributor

@Alex293 Alex293 commented May 16, 2024

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 Alex293 force-pushed the add-some-internal-spi-to-navigation-stack-apis branch from a08a082 to 8a97ecf Compare May 16, 2024 16:28
@Alex293
Copy link
Contributor Author

Alex293 commented May 16, 2024

Related to #1674

@Alex293 Alex293 changed the title Add @_SPI(Internal) to some of navigation apis Add @_SPI(Internal) to some more navigation apis May 16, 2024
Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Alex293 We chatted about this today and think the impact is minimal enough to take. We do want to caveat that @_spi(Internals) APIs are something we may change/remove at any time, so be aware that your downstream project will need to be aware of changes.

Will merge when green!

@Alex293
Copy link
Contributor Author

Alex293 commented May 17, 2024

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
Copy link
Contributor Author

Alex293 commented May 17, 2024

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.

@stephencelis stephencelis merged commit bac0d10 into pointfreeco:main May 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants