title: How to use CGColorCreate to get white with Swift in iOS
body: <p>Maybe I'm misinterpreting the information out there but in my code I have:</p>
  
  <pre><code>let color = CGColorCreate(CGColorSpaceCreateDeviceRGB(), [1.0, 1.0, 1.0, 1.0])
  </code></pre>
  
  <p>Which compiles fine but the text is always black no matter what I set the values to. What should the line look like to get white text?</p>