title: Swift right CustomColor class declaration
body: <p>because of strange color solutions in swift i needed to make customcolor class. And i dont know am i doing right.</p>
  
  <p>i have a class CustomColors()</p>
  
  <p>and usage: <code>color = CustomColors().black</code> and works perfectly</p>
  
  <p>but i want to make use like: <code>color = CustomColors(.Black)</code></p>
  
  <p>i cant do like this:  </p>
  
  <pre><code>init(_ Color: Colors) 
  {
    switch Colors
       case .Black
          return UIColor(r:255,g:255,b:255,a:255)
  }
  </code></pre>
  
  <p>A lot of things i dont know. Can someone put me on right solution? Thank you.</p>