10

I need QuartzCore.framework to add borderColor to a textfield, how?

János
  • 32,867
  • 38
  • 193
  • 353

1 Answers1

13

If you imported UIKit you don't need to import QuartzCore. Here is code

let textField = UITextField()
textField.layer.borderColor = UIColor.redColor().CGColor
mustafa
  • 15,254
  • 10
  • 48
  • 57