title: how to set a hex color to textfield border in ios
body: <pre><code>UIColor *bgcolour = [BackgroundLayer colorWithHexString:@"F13982"];
  textField.layer.borderColor=[[UIColor colorWithCGColor:(__bridge CGColorRef)(bgcolour)] CGColor];
  </code></pre>
  
  <p>Can anyone say how to set the UIColor object "bgcolor" to the Textfield border?</p>