title: Adding multiple sublayers to UIView will only display one
body: <p>Trying to add a bottom border to my login system, I have used the following code:</p>
  
  <pre><code>var bottomBorder = CALayer()
  bottomBorder.frame = CGRectMake(0.0, userEmailAddressTextField.frame.size.height - 1, userEmailAddressTextField.frame.size.width, 1.0)
  bottomBorder.backgroundColor = UIColor.blackColor().CGColor
  userEmailAddressTextField.layer.addSublayer(bottomBorder)
  </code></pre>
  
  <p>I am trying to do this to my password textfield as well. I have used a various amount of techniques but none seem to work. </p>
  
  <p><strong>First attempt:</strong> Adding the same code again, this only shows the bottom border for the second bar.</p>
  
  <p><strong>Second attempt:</strong> I tried the same thing with a different variable being bottomBordertwo and then replicating code, but that wouldn't work either. Any solutions?</p>