Open mob-rockstar opened 5 years ago
I'm also facing same issue in xcode 10, kindly help us to resolve the issue.
Can anyone help me with the same issue in Xcode 10
Change this property (borderColor) name into something different, compiler confuses because majority of UIKit elements have borderColor property as well. Hope it helps.
I would recommend the following terminology for changes to this library : @IBInspectable open var normal... @IBInspectable open var selected... @IBInspectable open var highlighted...
My temp workaround was to use KVC:
tagView.setValue(myColor, forKey: "borderColor")
Is this issue resolved?
create an extension of TagView
and create your own method to set border color:
extension TagView {
func setBorderColor(_ color: UIColor) {
setValue(color, forKey: "borderColor")
}
}
I tried to set the border color as followings:
tagList.addTag("Test").borderColor = UIColor.clear
but it causes error : "Ambiguous use of 'borderColor'"It worked well in previous version but not working now in xcode 10. How can I solve this issue.