title: Custom object class in Swift
body: <p>In my app I need to have a lot of labels with similar properties. Let's say they all have to be green. I don't want to have to say <code>lbl.color = UIColor.greenColor()</code>every time. How can I make a custom object class/struct allowing me to say something like <code>var myLbl = CustomLbl()</code> (<code>CustomLbl</code>being my class).</p>
  
  <p>I'm not sure if this is how you're <em>supposed</em> do it. If not, i have no problem with doing it in some other way.<br>
  Also, in my app I would have more properties but i only chose this as an example.</p>
  
  <p>Thanks!</p>