title: Converting a CGGradient to a CAGradientLayer
body: <p>I'm using a PaintCode StyleKit to generate a bunch of gradients, but PaintCode exports them as a <code>CGGradient</code>. I wanted to add these gradients a <code>layer</code>. Is it possible to convert a <code>CGGradient</code> to a <code>CAGradientLayer</code>?</p>