Post

Replies

Boosts

Views

Activity

Reply to Best practices for accessing NavigationPath in child views
Thank you very much for the links. I will have a look at these. [quote='840276022, hmlong, /thread/785094?answerId=840276022#840276022, /profile/hmlong'] As for allowing subviews to access the NavigationPath, typically you want to shield the path from the subviews by providing some object that manages it. [/quote] It's interesting that so much accepted answers found online for popping a view is pass down the NavigationPath as Binding. But good to know to not do that.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’25