title: How to set UILabel properties like textcolor, font etc using KVC?
body: <p>I need to know how to set <code>UILabel</code> properties like text color, font, alignment etc using KVC. In the below link there is an example on how to set <code>UIButton</code> title label text. 
  <a href="https://stackoverflow.com/questions/12389410/how-do-i-change-a-uibuttons-title-using-kvc">How do I change a UIButton&#39;s title using KVC?</a></p>
  
  <p>In view with that I have tried like this:</p>
  
  <pre><code>NSDictionary *labelProperties = @{@"textColor":@"redColor", @"font":@"Helvetica"},@"frame":@"50,50,50,50", @"text":@"Hi....", @"backgroundColor":@"yellowColor"};
  UILabel*myLabel = [[UILabel alloc]init];
  [myLabel setValuesForKeysWithDictionary:labelProperties];
  [self.view addSubview:myLabel];
  </code></pre>
  
  <p>But it didn't work. Application got crashed. I hope it's due to the incorrect value for the keys. What should be the format of the values, so that the above code works. I need to set all the UI attributes like this. </p>
  
  <p>Is there any tutorial by which I can understand how to set the values? </p>