I'm looking for a way to create a list from items from another list by selecting items in SwiftUI The way it works in my head is that when I Touch the button "Add to list", an external screen pops open from the bottom with a list of names (imported from a csv file) and I can select names by touching on a plus sign in that name and it automatically adds to the list in the first screen.
I can only find tutorials on how to write something in a textfield but and add that typed text into a list but no tutorial on the one I've discribed above.
Can anyone help me out?
Selecting any option will automatically load the page