Replies: 1 comment 2 replies
-
Hi @pomozoff, currently we have the presentation APIs that power our @_spi(Presentation) import ComposableArchitecture And you should be able to follow what we do in our navigation view modifiers to make your own. The reason it is hidden behind SPI is because we weren't quite sure they were the right shape and so we wanted to understand people's use cases of the APIs before we fully publicized. However, since then we feel that they are probably just fine to use as-is, and further, with the observation-beta, all of these tools are obsoleted. You can just use the regular |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to present a custom modal view with a custom transition.
But I do not know how to wrap a custom SUI view modifier that presents a custom modal dialog with a store scoped to a substate, as same as the
sheet
modifier already wrapped in the TCA library?Basically, I'm able to scope the substate from the store inside the content closure, however, I want to leverage Presentation property wrappers for a state and an action related to the substate.
Can't find anything related to the issue.
Any help appreciated!
Beta Was this translation helpful? Give feedback.
All reactions