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 answers

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