title: Set Objective-C property by string
body: <p>I'm wondering if there's an easy way to set (or retrieve) an Objective-C property by a NSString... It is possible to use <code>NSSelectorFromString</code>, but I'd like an easier (and less hacky way) to do it... Something like</p>
  
  <pre><code>[object setProperty:@"propertyValue" named:@"propertyName"];
  </code></pre>
  
  <p>is equivalent to:</p>
  
  <pre><code>object.propertyName = @"propertyValue";
  </code></pre>
  
  <p>I don't really want to mess around with the <code>@"propertyName"</code> and turn it into a <code>@"setPropertyName:"</code> for the <code>NSSelectorFromString</code> command... I may have no other choice, but if anyone knows a better way to do this, your help would be greatly appreciated!</p>