How should QuartzCore.framework imported in Swift?

9.1k Views Asked by At

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

1

There are 1 best solutions below

0
mustafa On

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

let textField = UITextField()
textField.layer.borderColor = UIColor.redColor().CGColor