title: Having issues retrieving values from a Multiple Selector Row
body: <p>I've been trying to figure this one out all day and have been unsuccessful. What I'm trying to do is retrieve selected values from a multiple selector row. The row so far is fully functioning and I've been able to set it up so that my options are structs. </p>
  
  <p>The problem I'm having is towards the end when I need to retrieve the data from the form. I'm able to use <code>form.values()</code> and know how to work with the dictionary for the most part.</p>
  
  <p>When I call for the values in the multi-row, they come through as 'Sets'. I am still relatively new to Swift so I hadn't dealt with these before, but from what I've read so far they are collection types like Arrays?</p>
  
  <p>this is the part that is giving me issues:</p>
  
  <pre><code>//
          &lt;&lt;&lt; ButtonRow("btnnRow") { row in
              row.title = "Confirm selection."
              row.onCellSelection({ (cell, row) in
                  let formValues = self.form.values()
                  let koko = formValues["multiSelectTest"] as! Set&lt;MultiTestStruct&gt;
                  switch koko.isEmpty {
                  case true:
                      print("Set is empty")
                  case false:
                      print("Set is NOT empty!")
                  }
              })
      }
  </code></pre>
  
  <p>This is the latest iteration of what I've attempted. It's able to print 'empty' on first load, but as soon as I select an option and unselect it again, crash! </p>
  
  <p>I think I'm having problems after selection because when I print all values, it's initially <code>"multiSelectTest": nil</code>, but after making a selection in the Multi-row then unselecting it, this is what it turns into: <code>"multiSelectTest": Optional(Set([]))</code>.</p>
  
  <p>Apologies if this makes no sense, I'd be happy to explain further if needed, it's currently 2am and my brain is pretty frazzled!</p>
  
  <p>TL:DR - How to get values from a multiple selection row.</p>
  
  <p>Thank you for reading.</p>
  
  <p>Update: error message- <code>Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value</code> - I get this error if I try to get the rows value before selecting and unselecting. Once selection has been toggled, there is no issue. </p>
  
  <p>This is the console output of all values prior to making a selection:</p>
  
  <pre><code>["btnRow": nil, "btnRow2": nil, "multiSelectTest": nil]
  </code></pre>
  
  <p>This is the console output after selecting an option:</p>
  
  <pre><code>["btnRow": nil, "btnRow2": nil, "multiSelectTest": Optional(Set([theDD_Admin.MultiTestStruct(name: "HELLO!")]))]
  </code></pre>
  
  <p>And finally, this is after I've cleared the multi-row of all options:</p>
  
  <pre><code>["btnRow": nil, "btnRow2": nil, "multiSelectTest": Optional(Set([]))]
  </code></pre>
  
  <p>My main plan of action was to call for the multi-row values if multi was <code>nil</code> but as you can see it is only nil whilst untouched. After making an option an even unselecting, it turns into a set and I get lost from there.</p>
  
  <p>thanks </p>