title: List selection as Set<String> - how to use?
body: <p>Am playing around with SwiftUI and am obviously not getting it.</p>
  
  <p>Basic example which works and is just displaying the selected name.</p>
  
  <pre><code>struct ContentView: View {
      let names = ["Joe", "Jim", "Paul"]
  
      @State var selectedName = Set&lt;String&gt;()
  
      var body: some View {
          VStack {
              List(names, id: \.self, selection: $selectedName) { name in
                  Text(name)
              }
              if !selectedName.isEmpty {
                  Text(selectedName.first!) // &lt;-- this line
              }
          }
      }
  }
  </code></pre>
  
  <p>What I want is a textfield where that name can be changed. Tried many ways but getting another error every time.</p>
  
  <pre><code>TextField("Name", text: $selectedName)
  </code></pre>
  
  <blockquote>
    <p>Gives this error: Cannot convert value of type 'Binding&lt;Set&lt;String>>' to expected argument type 'Binding&lt;String>'</p>
  </blockquote>
  
  <pre><code>TextField("Name", text: $selectedName.first!)
  </code></pre>
  
  <blockquote>
    <p>Cannot force unwrap value of non-optional type 'Binding&lt;((String) throws -> Bool) throws -> String?>'</p>
  </blockquote>
  
  <p>How would I do this?</p>