Failed to set (checkmarkLineWidth)
daver234 opened this issue · 1 comments
Hi, I am getting this error:
Failed to set (checkmarkLineWidth) user defined inspected property on (UIView): [<UIView 0x151d78fa0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key checkmarkLineWidth.
I am putting multiple check marks in a tableview cell using Swift. I have your fix in for line 218 (thanks). But I can't seem to find the root cause of this error which results in the view not being displayed at times.
I have a UIView in the cell. I then add the checkmark as a subview like this:
let checkbox = M13Checkbox(frame: CGRect(x: 0.0, y: 0.0, width: 40.0, height: 40.0))
checkbox.markType = .checkmark
checkbox.checkmarkLineWidth = 1.0
checkedBoxView.addSubview(checkbox)
Any suggestions?
Thanks.
I think I fixed it. I changed the approach to just adding the checkmark in IB and dropped the approach to adding a subview within the tableview cell. Not getting the errors now.