title: Why does .textAlligment only works if its placed after .defaultTextAttribute?
body: <p>Why does text alignment property does not work if its declared before .defaultTextAttribute bunch of code? It didn't throw any run-time errors but its property never changed or did any effect. </p>
  
  <p>I have the following code working:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      // Setting the delegates
      self.upperTextField.delegate = self
      self.lowerTextField.delegate = self
      // Default text of textFields
      upperTextField.text = "Up"
      lowerTextField.text = "Down"
      // Default text Attributes
      let textAttributes = [
          NSStrokeColorAttributeName: UIColor.whiteColor(),
          NSForegroundColorAttributeName: UIColor.blackColor(),
          NSFontAttributeName: UIFont(name: "HelveticaNeue-CondensedBlack", size: 40)!,
          NSStrokeWidthAttributeName: 0
      ]
      upperTextField.defaultTextAttributes = textAttributes
      lowerTextField.defaultTextAttributes = textAttributes
      // Align text
      upperTextField.textAlignment = .Center
      lowerTextField.textAlignment = .Center
  }
  </code></pre>
  
  <p>I got it working when I changed </p>
  
  <pre><code>// Align text
      upperTextField.textAlignment = .Center
      lowerTextField.textAlignment = .Center
  </code></pre>
  
  <p>after // Default text attributes</p>
  
  <p>Im using Xcode 7.3 and swift 2. </p>
  
  <p>Thanks in advance for any suggestions!</p>