title: How to pass a FocusState variable to other views and allow those views to update the variable? [Swift]
body: <p>Currently, I have something like the following:</p>
  <pre class="lang-swift prettyprint-override"><code>struct ViewA: View {
      @FocusState private var focusedField: Bool
      var body: some View {
          ViewB(focusedField: $focusedField)
          // some other views that read focusedField...
      }
  }
  
  
  struct ViewB: View {
      @State var focusedField: FocusState&lt;Bool&gt;.Binding
      var body: some View {
          Button(action: {
              focusedField = true   // ERROR: Cannot assign value of type 'Bool' to type 'FocusState&lt;Bool&gt;'
          })
          // ...
      }
  }
  </code></pre>
  <p>Seems like I can pass down <code>focusedField</code> with no problem but unable to update its value. How to solve this?</p>