-
Notifications
You must be signed in to change notification settings - Fork 246
Open
Description
I am sub-classing M13CheckBox
init(title:String) {
super.init(frame: CGRect())
self.boxType = .square
self.markType = .checkmark
self.backgroundColor = UIConstants.buttonBorderColor
self.cornerRadius = 3
}
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
alexeystrakhKraisornbiinthi
Metadata
Metadata
Assignees
Labels
No labels