I need QuartzCore.framework to add borderColor to a textfield, how?
How should QuartzCore.framework imported in Swift?
Asked Answered
If you imported UIKit you don't need to import QuartzCore. Here is code
let textField = UITextField()
textField.layer.borderColor = UIColor.redColor().CGColor
© 2022 - 2024 — McMap. All rights reserved.
import QuartzCore
should do the trick... – Officer