this post was submitted on 15 Jul 2023
3 points (100.0% liked)
SwiftUI
110 readers
2 users here now
SwiftUI helps you build great-looking apps across all Apple platforms with the power of Swift — and surprisingly little code.
This is a community for people that use SwiftUI, want to learn SwiftUI or want to show off their creations with SwiftUI.
Want to learn SwiftUI?
Try out Paul Hudson's free 100 Days of SwiftUI course
We expect a civil and constructive discourse in this community.
Piracy:
- Don't ask for or share any pirated material, this includes "clever" hints
Bootstrapping:
- For the time being, to bootstrap the community, crossposts of archived Reddit posts by the Lemmit bot that show up in [email protected] are allowed
- Try to be logical about crossposts
- Crossposting questions the answer to which would only specifically benefit the OP (who is on Reddit and can't read replies), is useless
- Crossposting questions that could lead to comments with information that would benefit members of the community are fine
- Lemmit crossposts need to be tagged with [Lemmit]
Other communities on related topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Funnily enough. I actually just did this. But I’m essentially holding a stack of view builders that represents the navigation stack view. Popping the view after applying a custom drag gesture view modifier to replicate the animation you’re requesting.
There are some interesting repos that involve custom solutions around this problem.
https://github.com/matteopuc/swiftui-navigation-stack
For starters.
But, essentially I just opted out of using the built in navigations. Unless it’s SplitView for macOS