title: Swift Set Value for Key of another Key
body: <p>I'm working on a project where I have XML responses being converted to an instance of an object. For sake of this question, root elements are mapped to "Parameter" and child elements are mapped to "Subparameter" with the class setup like this.</p>
  
  <pre><code>class MyClass : NSObject {
    var Parameter = Parameter()
  }
  
  class Parameter: NSObject {
    var Subparameter = String()
  }
  </code></pre>
  
  <p>My question is this...  How do I set the value of MyClass.Parameter.Subparameter using setValue(value, key)?</p>
  
  <p>Thanks in advance for your assistance.</p>