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
I'm getting the same error, and it goes away with the workaround above but it doesn't apply the cornerRadius property properly as when you apply it via inspector. The underlying code is not being called:
@IBInspectable open var cornerRadius: CGFloat {
get {
return controller.pathGenerator.cornerRadius
}
set {
controller.pathGenerator.cornerRadius = newValue
setNeedsLayout()
}
}
How can I fix the Ambiguous use of 'cornerRadius' error when not using storyboards?
I am sub-classing M13CheckBox
but I have the following error on self.cornerRadius = 3 line -
Ambiguous use of 'cornerRadius'
It goes away if I user
(self as UIView).cornerRadius = 3
but still its worth mentioning
The text was updated successfully, but these errors were encountered: