Type Safely

Type Safely

Share this post

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

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

Share this post

Type Safely
Type Safely
Use a TextField To Create a Custom NavigationPath For The New NavigationStack
Share
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…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share