title: Set value to model class properties swift
body: <p>I know I can get the list of class properties using <code>Mirror(reflecting:)</code> but I can only print them. But what if I want to set properties to them and return the mirrored object.<br>
  Somwhat like this -  </p>
  
  <pre><code>    let mirroredObj = Mirror(reflecting: User())
                  for (index, property) in mirroredObj.children.enumerate() {
                          property.value = &lt;SOME_VALUE&gt;
                      }
      return mirroredObj  
  </code></pre>
  
  <p>Or maybe some totally different approach to do this?</p>