Type Safely

Type Safely

Use a TextField To Create a Custom NavigationPath For The New NavigationStack

Daily Coding Tip 110

Millie Sturgeon's avatar
Millie Sturgeon
Jun 16, 2022
∙ Paid
Image by Sascha Zyballa from Pixabay

going to start by making a RootView that allows for the creation of custom NavigationPath objects. All I have is a State property that stores the string from a TextField, and a Button that sets a Binding to a NavigationPath to an array containing that string. It’s worth noting that this RootView is inside a Form, but…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture