title: Converting UIColor to CGColor in swift
body: <p>This is the Obj-C code:</p>
  
  <pre><code>CGContextSetStrokeColorWithColor(context, [[UIColor lightGrayColor] CGColor]);
  </code></pre>
  
  <p>How do I write it in swift.</p>