title: Swift. UILabel text alignment
body: <p>I create my UILabel in swift:</p>
  
  <pre><code>let label = UILabel(frame: CGRect( x: 50, y: 50, width: 100, height: 50))
  </code></pre>
  
  <p>setting properties seems to be easy:</p>
  
  <pre><code>label.textColor = UIColor.redColor()
  </code></pre>
  
  <p>How to implement enum types like textAlignment?
  In Objective C it was</p>
  
  <pre><code>label.textAlignment = NSTextAlignmentCenter;
  </code></pre>
  
  <p>but in swift it doesn't seem to work.</p>