You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing a framework in swift results in importing all public extensions from that framework. Material offers UIView.borderWidth extension which causes ambiguity for the compiler when I try to use PopTip.borderWidth. According to this answer and its comments it is impossible to resolve. I tried subclassing and overriding the borderWidth assuming that compiler will recognize what I am overriding, yet again failed. As the final way out I am using NSObject.setValue(, forKey) method. It works but I am not sure about its behavior.
popTip.setValue(0.5, forKey:"borderWidth")
The text was updated successfully, but these errors were encountered:
Yes, that is a great reason. So in that case, let's leave a fix for this. I was hoping to discuss what should be done when this situation arises? As it will probably again on another property.
Cannot override mutable property 'borderColor' of type 'UIColor?' with covariant type 'UIColor'
Same issues it is complaining it is trying to override borderColor in Material Framework
Importing a framework in swift results in importing all public extensions from that framework. Material offers
UIView.borderWidth
extension which causes ambiguity for the compiler when I try to usePopTip.borderWidth
. According to this answer and its comments it is impossible to resolve. I tried subclassing and overriding theborderWidth
assuming that compiler will recognize what I am overriding, yet again failed. As the final way out I am usingNSObject.setValue(, forKey)
method. It works but I am not sure about its behavior.The text was updated successfully, but these errors were encountered: